-
Recent Posts
Recent Comments
Andy on Visual Basic Code for “Iterati… .Net Follower on Recursive FindControl; FindCon… Danny Bos on HOWTO: Define DEBUG constant f… Graham on Saving Word Document to SQL… Andy on I affirm that I do not know wh… Archives
Categories
Meta
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