Friday, May 24, 2013

Create Adin in Visual Basic.net

To create an add-in by using the Add-In Wizard

  1. Create a Visual Studio add-in project. On the File menu, point to New and then click Project. Navigate to Extensibility in the Other Project Types node. When you create the project, the Add-In Wizard starts.
  2. On the Select a Programming Language page, select the programming language you want to use to write the add-in.
  3. Select one or more applications, such as Visual Studio, on the Select an Application Host page.
    This lets you choose the applications in which you want to be able to run the add-in after it is created.
  4. Type a name and description for your add-in on the Enter a Name and Description page.
    Note Note
    Because a period character (".") has a special meaning in Visual Studio commands, Visual Studio will not create a default Tools menu command if your add-in name contains a period.
    After the add-in is created, its name and description are displayed in the Available Add-Ins list in Add-In Manager. Add enough detail to the description of your add-in so that users can learn what your add-in does, how it works, and so on.
  5. On the Choose Add-In Options page, you can specify:
    • Whether you want your add-in to appear on the Tools menu.
    • When you want your add-in to start.
    • Whether your add-in uses a modal user interface (UI) or not. If it does not, it can be safely used with command-line builds.
  6. On the Choosing 'Help About' Information page, specify whether you want information about your add-in to be displayed in the Visual Studio About dialog box. If you do, add the information that you want to be displayed.
    Information that can be added to the Visual Studio About dialog box includes version number, support details, licensing data, and the like.
  7. After you complete steps 1-6, the options you selected are displayed on the Summary page for you to review. If you are satisfied, click Finish to create the add-in. If you want to change something, click the Back button.
    You now have a functional, basic add-in. To enable your add-in to do what you want it to do, you must add the appropriate code. For more information, see Extending the Visual Studio Environment.
    To learn what the Add-In Wizard does behind the scenes, you can examine the code it creates.

No comments:

Post a Comment