Monthly Archives: March 2009

Reentrant Code

I wrote this article originally for Embedded VB (eVB), which is basically VBScript with Forms support. Yet this article can also apply to VB/VBA/VBScript and other languages. Non-Reentrant Any public variables used by an application, function, procedure, subroutine, or whatever, … Continue reading

Posted in Development | Leave a comment

Visual Basic Code for “Iterating NTFS Streams” by Stephen Toub

Note, while this implementation is “neat”, it is better to return a list of StreamInfo objects from a GetStreams method. (This is how the GetDirectories and GetFiles methods of the System.IO namespace in the .NET Framework are implemented.) You cannot … Continue reading

Posted in Code Library | 1 Comment

DebuggerDisplayAttribute

http://blogs.msdn.com/vbteam/archive/2005/12/02/ide-debugger-enhancements-type-viewer-attributes-and-type-visualizers-by-luca-dellamore.aspx http://msdn.microsoft.com/en-us/library/x810d419.aspx I have used this attribute a few times before. Very handy when needed. For instance, when I was working on a "color indicator" I needed to see the calculated values of my HSL color. It was painful to … Continue reading

Posted in Uncategorized | Leave a comment