Add-in doesnt load when outlook is started from VBS

M

Msyrak

Hi

I am developing an add-in for outlook, which works fine when outlook (2003)
is started from the start-menu or cmd-prompt.

But when started with "CreateObject" in a .VBS script the add-in is not
loaded.

I have tried experimenting with changing the "LoadBehaviour" registry key,
which i is set to 3 but neither this nor changing the "CommandLineSafe" key,
makes a difference.

Best regard

Mads S. Larsen
 
K

Ken Slovak - [MVP - Outlook]

Does your addin check for an ActiveExplorer? If you start Outlook using
automation you have no UI so no ActiveExplorer. A properly written addin
will monitor for that and you should always get an On_Connection event when
Outlook is started, no matter how it's started.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top