Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I'm so glad I found this site... Now I can get some sleep, because my problem is solved..."

Geography

Where in the world do Tek-Tips members come from?

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

jamies111 (Programmer)
22 Jan 11 8:56
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: http://www.master-sharepoint.com   ---   InfoPath SharePoint Development: http://www.sharepoint-infopath.com/

JAG14 (Programmer)
23 Jan 11 4:44
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

 


'Very funny, Scotty... Now Beam down my clothes.'

jamies111 (Programmer)
23 Jan 11 5:06
Thanks Jag14

Learn SharePoint 2010: http://www.master-sharepoint.com   ---   InfoPath SharePoint Development: http://www.sharepoint-infopath.com/

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close