Patrick Steele's .NET Blog
Implements ICodeWithDotNet
-
VB.NET and DirectCast
Paul Vick: "...as it turns out, there are some narrow situations where using DirectCast can make things a tiny bit fast than they might otherwise be."
-
MS Tech Lead on VB.NET is blogging.
Scoble sends word that Paul Vick, MS Technical Lead on Visual Basic.NET now has a blog. Subscribed!
-
VB6, Variants and COM-Interop
Ran into an interesting issue with COM-interop and Variants. In VB6, I had a "Value" Property that was of type 'Variant'. While I loathe variants, it really was required for this project since it could hold all sorts of data. Since it could hold anything, this "Value" property had a "Property Get", "Property Set" and "Property Let". I needed to use this interface in a .NET class so I used TLBIMP.EXE and get a runtime-callable-wrapper (RCW).
-
.NET Success
Jason Alexander blogs about his success in moving an old ASP site to .NET:
-
For/Each and Try/Finally
For some odd reason, an idea popped into my head based on my post about the Exit Try issue. It's bad idea -- a hack. Yet I couldn't help but let it run it's course.
-
Automatic calling of "Dispose" in VB.NET
For some odd reason, an idea popped into my head based on my post about the Exit Try issue. It's bad idea -- a hack. Yet I couldn't help but let it run it's course.
-
Update on Exit Try
Just wanted to clarify a few things based on comments to my original post on the "Exit Try" issue:
-
Beware "Exit Try"!
Brad Abrams' recent post about the IL code generated by the C# compiler reminded me of an issue that someone found with the VB.NET "Exit Try" statement. I thought I'd post it here to make sure all three of my subscribers know about this... :)
-
Case-sensitive websites
I've never understood why you would want a case-sensitive webserver. ScotG's blog recently mentioned his purchase of an iSight. Since I don't follow Apple hardware (nor Apple in general) I clicked on his link to the iSight, http://www.apple.com/iSight. I got to an Apple page about it being an invalid link. So I went to Apple's product pages and saw a link to the iSight. I clicked on the linked and when it popped up in my browser, the URL looked like the same one ScotG had in his blog. I went back and double-checked his blog entry: iSight vs. isight.
-
On Code Generators.
AngryCoder: "...the myth of the code generator."