Posts

Showing posts from June, 2007

Visual Studio Macros

Long time no see! I recently discovered the use of Macros in Visual Studio. Yes, I have known ABOUT them since the release of the IDE, but I haven't actually used them. Until recently. I must say that I find them extremely useful for helping with repetitive tasks. In earlier posts, you've read about various time saving techniques, including building your own form builder application. But instead of building dozens of specialized applications, you could instead create Macros IN the IDE that you are using and USING that IDE to perform your work. Saves some copying and pasting plus that you will not easily loose track of them since they are nicely listed in your Macro Explorer. But enough babble ... A quick introduction The Macro Explorer is accessible from the View - Other Windows - Macro Explorer (or by simply pressing ALT+F8). In the Explorer, you get a project listing which contains documents (modules) which, in turn, contains Visual Basic Sub procedures that are the actual