Using the Macro Explorer
To become familiar with the Macros environment, create a new Windows Forms application and name it LearnMacros_vb or LearnMacros_cs, depending on your language. Macros in Visual Studio .NET only understand Visual Basic .NET, so the actual macro code that you create and examine today is in Visual Basic .NET. You can still use macros with any project template and any language in Visual Studio .NET.The Macro Explorer is your window for managing macros in Visual Studio .NET. To open the Macros Explorer, you can press the Alt+F8 key combination, or select Other Windows, Macro Explorer from the View menu. From the Macro Explorer, you can
- View, edit, and run your macros
- View, edit, and run the macro samples that come with Visual Studio .NET
- Create new macro projects
- Load or unload macro projects
Figure 16.1 shows the Macro Explorer with the MyMacros default project and the Samples project that comes with Visual Studio .NET expanded.
Figure 16.1. The Macro Explorer.

To record macros and perform other macro management, you can access the Macro options by selecting the Tools, Macros menu as shown in Figure 16.2.
Figure 16.2. Use the Tools menu to get to macros options.

To get an idea of what the Macro Explorer can do and how to work with macros, you need to record your first macro.
• Table of Contents
• Index
Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days
By
Jason Beres
Publisher
: Sams Publishing
Pub Date
: January 14, 2003
ISBN
: 0-672-32421-0
Pages
: 696
Sams Teach Yourself Visual Studio .NET in 21 Days will help developers that are new to application development and experienced developers understand how to use the .NET Framework and Visual Studio .NET to rapidly develop any type of computer application. The Visual Studio .NET development environment is the most comprehensive developer tool ever created, putting that together with the .NET Frameworks' Class Libraries, the developer has everything he or she needs to get up-to-speed on Microsoft's latest revolution in application development. This book will guide the developer through using the VS .NET IDE, the Visual Basic .NET and C# language, and the supporting tools available from Microsoft to create Windows and Web-based applications. The market is full of books that pretty much say the same thing, which is already available in the help files, the author of this book has written and deployed over a dozen successful applications using Visual Studio .NET and the .NET Framework. All of his expertise and experience is used to give you the most comprehensive title on using Visual Studio .NET.