Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB5 COM Add-in not loading on application startup

Status
Not open for further replies.

RichardWolf

Programmer
May 13, 2004
3
US
I've searched and found nothing posted similar or relevant to my problem so I'd thought I'd see if anyone has seen this behavior before.

I'm using VB5 to create a COM DLL add-in for Outlook. I have added the necessary references and designer, set it for Outlook, the version I'm using, load at next startup. Run the application. Start Outlook. None of the IDTExtensibility2 events ever fire. I've even created a simple test DLL (just message box displays in every IDT* event) and I never see a message box when outlook loads.

I've tried making it a DLL and loading it directly from within outlook (again, once I browse to it and select it nothing happens, no error messages). I've tried the same technique in VB6 with the same results, for Word and Excel as well.

This is really driving me crazy, any comments suggestions would be welcome :)
 
Several days of research and trial and error and I've answered my original question:

1) INFO: VB6 Designers Do Not Work in VB5

2) HOWTO: Build an Office 2000 COM Add-In in Visual Basic

MS Knowledgebase has several pages with the same exact name as "Build an Office 2000.." but only the ONE I've listed above has an example on how to make it work in VB5.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top