Introducing Macros in Visual Studio .NET
Macros are typically made up of multiple simple tasks that you need to do repetitively. Macros are written in Visual Basic .NET and have their own development environment, called the Macros IDE. In Visual Studio .NET, macros are referred to as VSMacros.Developing macros also provides an excellent way to learn the Visual Studio .NET automation model, which you can then use to develop more complex automation tasks such as add-ins. Macros can be as simple or complex as you want them to be. As you learn more about macros, you'll see that some things aren't possiblewhich is when you must convert your macro to an add-in.To create macros, the Visual Studio .NET IDE provides you with a macro recorder and the Macros IDE. You use the macro recorder to record the task that you're doing, and you can edit or debug the code generated from the macro in the Macros IDE. For most macros, you won't need to use the Macros IDE at all, but it's there to give you the ability to extend what the recorder has done using the extensibility model in Visual Studio .NET. You can also create macros from scratch using the Macros IDE. After today, you'll realize how simple it is to write macros, and you might split your time between recording a basic macro with the recorder and sprucing it up in the Macros IDE.When you record a macro, the recorder watches which windows you work in and what tasks you're doing in those windows, and makes a "tape" of your actions. When you finish recording, you can give the macro a friendly name and it's forever added to the Macro Explorer, which provides the same functionality for macros that the Solution Explorer provides for Visual Studio .NET solutions.
• 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.