We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 22,008 times

Contents

Downloads

Related Categories

Create your own Add-Ins in VB - More EOM Objects

S.S. Ahmed

More EOM Objects

The VBProjects Collection

This collection enables you to access a set of VB properties. This feature can be helpful if your development environment has an established process for developing software. Some of the key properties and methods of this collection are:

Filename: returns the full pathname of the group project file
Startproject: returns or sets the project that will start when users choose start menu from the run menu, click the run button, or press F5 key.
AddFromFile: This is a method that enables the users to add or open a project or group object. Its only required argument is the string representing the path of the file you want to add.
AddFromTemplate: This method enables you to add project templates into the VBProjects collection. Its only required argument is the string representing the path of the file you want to use as a template.

The Windows Collection

With the windows collection, you can access the windows such as the project and properties windows. This collection enables you to access a group of all currently open code windows and designer windows.

The IDTExtensibility Interface Object

The IDTExtensibility Interface Object exposes the public methods and properties of the extensibility model. By exposes, I mean that because you don't directly use the services, methods and properties of the underlying extensibility model, you need to invoke the methods of the model's agent, so to speak. You can think of interfaces as public agents for the private implementation of an extensibility model object you instantiate.

The Visual Basic Instance Variable

This is also known as dynamic identification variable. It identifies a particular instance of your VB session. This instance identifier enables you to have separately identifiable running instances of VB in memory.

The instance variable is of the type VBIDE.VBE. To use this variable, declare it in a class module or general module.

Please refer to Microsoft website for complete details of these packages. Please understand that I can not explain each and every detail of these packages in this short article. Lets get started with the creation of the Add-In.

S.S. Ahmed is a senior IT Professional and works for a web and software development firm. Ahmed is a Microsoft Office SharePoint Server MVP. Ahmed specializes in creating database driven dynamic web sites. He has been working with SharePoint for the last 3-4 years. He develops customized SharePoint solutions. Ahmed likes to hop into other tools as well. Ahmed has used Project Server, InfoPath and BizTalk. Ahmed enjoys travelling and has been to many parts of the world. Web: www.walisystems.com Blog: www.sharepointblogs.com/ssa

Comments

  • About Add-Ins by Mr. S.S. Ahmed

    Posted by Uma Mythreyi on 06 Dec 2005

    Mr. S.S. Ahmed's Create your own Add-Ins in VB is a perect guide to create Add-Ins.
    It helped to create my Add-In in just 5 minutes. An Excellent guide.