Creating an Add-in

Posted on 2001-08-15
Last Modified: 2013-12-23
I would like to create an Add-in for Visual Interdev that manipulates code.  I can not seem to find any help for this.  It sems like it can be done in VB but i can't see anything for Interdev.

Any help would be appreciated.
Question by:svfafel
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3
LVL 20

Expert Comment

ID: 6390565
You use the exact same procedures to create an add-in for VI as for VB and C++. There are no differences. See the following links for a few example of how to create one for VB.

Once you have created your add-in it takes a little jury-riging to get VI to recognise it. Use the following to get into the VIIDE

In Regedit do the following (yes you know editing the registry can be ...)

Invoke Regedit and find the following key:

Add a key called:
Let it default to the default value not set.

After that is done and saved also close VI. Then Register your new add-in
just like you would for VB (regsvr32)
Restart VI and look in the Add-In-Manager and you should see it.......
If not Do the following:

Invoke Regedit and find the following key: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\6.0\Addins.

Create a new subkey (select the Addins node and then New and Key from the Edit menu) using the propID
as its name.
Note   If you've registered add-ins in Visual Basic before, this name is the same as the one you've
entered in the vbaddin.ini file.

Select the new key, right-click the right pane of Regedit, and select New on the context menu. Select
String, enter Friendlyname and press RETURN. The new named value is selected; press RETURN again and
enter the name of the add-in as you want it displayed in the Add-In Manager. Select New and String again,
but this time enter Description. Use the same procedure for the name to enter a description of the add-in.
Select String, New, and enter LoadBehavior. Use 0 for this value. Finally, select New and Integer, and
enter LoadBehavior.

Exit Regedit and open the Add-In Manager to see the name and description of your new add-in. (If the
Add-In Manager is already open, close it and open it again.)


Author Comment

ID: 6392554
I have installed/configured as you mention...i get the selection in my list of add-ins but when i go to run it, i get an Access Violation error when attempting to execute the line:
    Set m_oButtonClear = m_oVBIDE.Events.CommandBarEvents(cmdClear)

any ideas?  It has done this on two different addins i have tried...

LVL 20

Expert Comment

ID: 6393376
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

LVL 20

Expert Comment

ID: 6393390

Accepted Solution

DaveFenton earned 200 total points
ID: 6544361
I've also tried similar things but no luck. The Interdev ide returns a DTE object type to the add-in not a VBIDE type.
The code that is given as examples on all these sites with add-in examples doesn't work(unless someone can point out otherwise)
The furthest I've managed to get is actually adding a menu item to the interdev menu. The place I get stuck is in actually accessing the code itself. the DTE has a different object model to VBIDE and I've found very little information of any use either on the web or in MSDN.
I have found one piece of code that is an example InterDev add-in. Unfortunatly it doesn't manipulate code just opens and closes windows but it is a starting point.

Expert Comment

ID: 6688304
I'm with Dave.  Anybody have anything that works for accessing VI code?

Expert Comment

ID: 6689268
I've now got code that works BUT only on certain machines. In the office only about half the machines will work. Obviously there's some version incompatability but I'm blown if I can work out what it is. In theory all of our office machines are set up exactly the same with the same versions of dll's etc. The only things that vary are browser versions since we like to have a full range for testing. I can't believe that it's down to browser versions (then again it is Microsoft!)

Expert Comment

ID: 6689497
I'd love to see some of that working code.  If you don't mind:  Thanks.

Expert Comment

ID: 6783404

You have many open questions:

To assist you in your cleanup, I'm providing the following guidelines:

1.  Stay active in your questions and provide feedback whenever possible. Likewise, when feedback has not been provided by the experts, commenting again makes them receive an email notification, and they may provide you with further information. Experts have no other method of searching for questions in which they have commented, except manually.

2.  Award points by hitting the Accept Comment As Answer button located above and to the left of that expert's comment.

3.  When grading, be sure to read:
to ensure that you understand the grading system here at EE. If you grade less than an A, you must explain why.

4.  Questions that were not helpful to you should be PAQ'd (stored in the database for their valuable content?even if not valuable to you) or deleted. To PAQ or delete a question, you must first post your intent in that question to make the experts aware. Then, if no experts object after three full days, you can post a zero-point question at community support to request deletion or PAQ. Please include the link(s) to the question(s).
At that point, a moderator can refund your points and PAQ or delete the question for you. The delete button does not work.

5.  If you fail to respond to this cleanup request, I must report you to the Community Support Administrator for further action.

Our intent is to get the questions cleaned up, and not to embarrass or shame anyone. If you have any questions or need further assistance at all, feel free to ask me in this question or post a zero-point question at CS. We are very happy to help you in this task!

community support moderator

LVL 19

Expert Comment

ID: 6856447
This question appears to have been abandoned. A question regarding will be left in the Community Support area regarding its disposition; if you have any comment about the question, please leave it there.

A moderator will be asked to resolve the question. Unless there is any objection or futher activity, the recommendation will be to accept the answer of hes.

The link to the Community Support area is:




Author Comment

ID: 6871009
Dave, you are right....there is no great way to extend the functions of VI 6.  VS .net will have much more functionality....


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual Source Safe 2005 on Windows Server 2012 R2 10 1,737
Firewall vs WYSIWYG editor 5 83
Dreamweaver server behavior gone 6 165
Code Manager | Snippits 2 65
Now that Expression Web 4.0 ( is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and Log…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question