< Free Open Study > 

In this chapter, you saw that you do not have to start from scratch to create the base and most important class of an add-in-namely, the Connect class. Rather, you can use the Add-in Wizard to do it for you, and very quickly, by the way.

Next, you learned that the add-in has to be registered in the registry, not only as a COM component, but so that the Add-in Manager will know to add it to its list of add-ins.

You learned how to make simple modifications to the generated Connect class, so that your first add-in will actually do something, such as place a command button and respond to its Click event.

You reviewed the structure of the registry entry for the add-in and learned how to manually register the add-in, should the occasion ever arise.

You ran through an installation of the add-in using the Setup Wizard. This deployment wizard is only one of the many nice, new features in Visual Studio .NET.

Finally, although you used a very simple example, you learned that add-ins aren't "black boxes" developed only by "gurus" locked in an ivory tower. Your first add-in may not do much, but you've succeeded in creating a real, live, working add-in that automatically connects, responds to user action, and disconnects. All you have to do now is add a little bit more code, and you've got it licked. And if you believe that, I have some "oceanfront property in Arizona" (to borrow a line from George Strait) that I'd like to sell you. Seriously, you'll do some amazing things in no time at all.

In Chapter 3, you'll add a more sophisticated UI and several very useful functions to the add-in. There, you'll begin to build a real add-in.

 < Free Open Study > 

Writing Add-Ins for Visual Studio  .NET
Writing Add-Ins for Visual Studio .NET
ISBN: 1590590260
EAN: 2147483647
Year: 2002
Pages: 172
Authors: Les Smith © 2008-2017.
If you may any questions please contact us: