« October 2005 | Main | December 2005 »

November 18, 2005

WinFX Nov CTP Ready for Download

Brad Abrams has the details.

Posted on November 18, 2005 at 11:47 AM | Permalink | Comments (0)

Oh, THAT magenta! I didn't know you meant THAT magenta!

(a.k.a. Unable to make ToolStripButton background transparent)

Pop Quiz: Why doesn't the toolbar icon in the app below have a transparent background?  The background color for the icon is magenta, and the ImageTransparentColor is magenta, so what gives?

Thismagenta

The problem is, for some of the icons that ship in C:\Program Files\Microsoft Visual Studio 8\Common7\VS2005ImageLibrary\bitmaps\commands\16color, the background isn't actually the "Magenta" magenta.  As a Microsoftie pointed out to me, it's 252,2,252.  If you change the ImageTransparentColor to that, life is good.

Thatmagenta

Posted on November 18, 2005 at 09:00 AM | Permalink | Comments (0)

November 15, 2005

System.Transactions + Jet = No Joy

The System.Transacitons namespace makes it much easier to work with transactions. You just say:

Using tx as new TransactionScope()
' Do a bunch of transactional stuff
tx.Complete()
End Using

If it completes without error, your stuff commits, else, it rolls back.

Except it doesn't work at all with Jet (Access). Bummer.

Posted on November 15, 2005 at 03:14 PM | Permalink | Comments (0)

Microsoft to remove Sony "spyware" - Is this legal?

Microsoft has announced that it will treat the Sony "Extended Copy Protection" as spyware, and Microsoft will provide tools to remove it. Great, except it seems to me (and I'm no lawyer) that what Microsoft is planning on doing is illegal under the Digital Millennium Copyright Act (DMCA). The DMCA explicitly states that it's illegal to circumvent copy protection.

Read section 1201 for yourself.

IMHO, this is just one of the many reasons why the DMCA is evil. Sony is unlikely to sue Microsoft because Sony has already agreed to suspend use of XCP, and Sony has better things to do than fight a legal war of attrition. Thank goodness that evil Microsoft decided to take this action instead of one of us mere mortals. I have a feeling that if you or I had decided to release software to remove Sony's XCP, we'd find ourselves on the pointy end of serious litigation.

Posted on November 15, 2005 at 09:16 AM | Permalink | Comments (1)

Christmasware v. Coal

There's been much ballyhoo and tearing of sackcloth over the stability of Visual Studio 2005. Let me just chime in and say that the IDE is buggy, and (for now) I'm OK with that. I have a number of clients who were waiting to really get rolling on a number of projects in anticipation of the release. In existing products, there were a number of features that were being deferred becuase VS 2005 was going to make them drop-dead simple to add. The release of VS 2005 has broken the log jam, and the product is really making a positive productivity and functionality difference on a number of projects right now.

This isn't to say that I just love the bugs. They're annoying and, quite frankly, remind me of the quality level of the initial Visual Studio 6 release, which was also buggy as all get-out. I'll once again be teaching people, "Don't push that button!." Let's all sing a round of Kum-By-Ya while we reboot the IDE.

In gaming circles, this kind of product is known as Christmasware, but I think my other option was a lump of coal in my stocking. So for now, I'm just going to suck it up, because I'm having a lot more fun on the VS 2005 projects than I am on the VS 2003 projects.

Posted on November 15, 2005 at 08:20 AM | Permalink | Comments (0)

November 08, 2005

Obscure .NET: BLOBs and Concurrency with ADO.NET

By default, when you generate a DataAdapter or Typed DataAdapter for ADO.NET, it will include concurrency checking. The concurrency checking will insure that the database still contains all the original values before you do your update. Essentially, if I select a row, you select a row, you change the row, when I try to save my changes I'll get an exception. The update will detect that my changes would stomp on your changes, and not let the change go through.

This is all true except for BLOBs. BLOBs are not checked for changes, so you could end up with changes to BLOBs stomping on each other.

This is true with both .NET 1.1 and 2.0.

Posted on November 8, 2005 at 03:04 PM | Permalink | Comments (0)

I know there's a lot of chatter about this VS 2005 launch, and all, but....

On a side note, some of my videos are up on MSDN.

1/2 way down on the VB Fusion site.

Getting Started - Visual Basic Fusion with Visual Basic 6 and Visual Basic .NET
Visual Basic Fusion - Debugging with Visual Basic 6 and Visual Basic .NET

Posted on November 8, 2005 at 12:45 PM | Permalink | Comments (0)

November 07, 2005

Express SKUs are up

You can now download the released version of the Visual Studio Express products (VB Express, C# Express, etc.)

Get them here.

Posted on November 7, 2005 at 02:54 PM | Permalink | Comments (0)

November 03, 2005

Microsoft buys FolderShare

A while back, Scott Hanselman raved about FolderShare. I just saw today that Microsoft has acquired it. Groovy.

Posted on November 3, 2005 at 03:16 PM | Permalink | Comments (0)

If you're looking for the .NET Framework 2.0 redist

It's here.

Posted on November 3, 2005 at 08:13 AM | Permalink | Comments (0)