Deploying custom code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am putting together some code to write out the entryids for selected email
to a file (thanks to Michael Bauer for the help) where my app can read the
ids. I want this code to run from a custom button in OUtlook.

My question concerns deploying this capabilty. That is, I need to deliver
this to multiple clients who are running my app now. This means I can have
at least 2 problems -- I need a way to have my client easily install the
custom button and associate it to the code for their site. Is there a way to
do this short of forcing them to do it manually thru outlook menus? And
secondly, will I run into security issues in OL that will prevent them from
running the code?

I am new to OL programming. Truly appreciate any help on this,
Mark
 
Eric,

Thanks. Yes, COM add in is probably what I need to do.

Am new to creating COM add ins. If I were to do so, I would want the COM
add in to load a table (Access or Dbase), allow the user to select a record
in the table, then write out the value of the id field in that table along
with the entryID of the currently selected emails to a text file.

My question is whether, if I did so, I can deploy this DLL with Windows
Installer to my clients or would Outlook security features prevent such a
program from loading the table and displaying the records when run from
inside OL. Just not sure what is and is not blocked when running a DLL from
inside OL.

Thanks in advance for any advice you can give,
Mark
 
If you are using Outlook 2003, COM Add-Ins are trusted and won't generate any
security dialogs if you derive all Outlook.Application objects from those
provided by any of the IDTExtensibility2 events.

Note that the security prompts are specific to accessing certain features in
Outlook. You'll never generate one if you automate other Object Models like
Access, or other data access .dlls like ADO or DAO.

There's some great resources here:

Developing COM Add-ins for Microsoft Outlook:
http://outlookcode.com/article.aspx?id=36

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/
 
Back
Top