Library tutorials & articles
Create your own Add-Ins in VB
- Introduction
- What is the EOM?
- More EOM Objects
- Creating the example
- Examining the sample code
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.
Related articles
Related discussion
-
VB6 Runtime error 381 subsript out of range Error
by Uncle (2 replies)
-
passing and reading parameters from using Shell
by jigartoliya (0 replies)
-
Convert C++ code to VB6
by mawcot (4 replies)
-
listbox scrollbar
by Dennijr (10 replies)
-
Can you describe Above simple VB6 code?
by pramodmca09 (0 replies)
Related podcasts
-
Christian Beauclair
14 mai 2008 (�mission #0074) ::.Christian Beauclair: Stratégies de migration VB6 vers .NET Nous discutons avec Christian Beauclair des stratégies de migration VB6 vers .NET. Entre autres, nous discutons comment utiliser le "VB 6 Code Advisor" et le "Interop Forms Toolkit" pour ajouter la puiss...
Hello i am using VB6.0 at the moment, but i can not design a program to use printer. please, help me. thanks.
!--removed tag-->It helped to create my Add-In in just 5 minutes. An Excellent guide.
This thread is for discussions of Create your own Add-Ins in VB.