Add-in doesnt load when outlook is started from VBS

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

Guest

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
 
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.
 
Back
Top