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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 Outlook Addin - Ho do I package resource files with the dll?

Status
Not open for further replies.

jamies111

Programmer
Jan 22, 2011
3
US
Hi,

I am writing an addin for Outlook 2007 using VB6, and was wondering how to ensure that a file is packaged with the addin. Is anything in the "Resources" directory included in an addin when compiled as a dll?

Does App.Path reference the application (Outlook) directory, or a "virtual directory" of the addin, including the contents of the Resources directory for the addin (when developing)? It is from a separate class module to the Connect module.

Also, can I include a separate assembly dll as a reference file and reference within the project (relative to addin, not file system of my workstation)?

Any help would be much appreciated.

Thanks

Learn SharePoint 2010: --- InfoPath SharePoint Development:
 
If you want to include a file with the addin, then you would have to use an installer to find and edit the Outlook Directory.

As you are creating an Addin/DLL the app.path variable will reference the calling application's disk location. (AFAIK)

See point 1 for answer to Q3.

HTH,

Jag14



yosherrs.gif

[tt]'Very funny, Scotty... Now Beam down my clothes.'[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top