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.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm
"Msyrak" <Msyrak[ at ]discussions.microsoft.com> wrote in message news:4F8B3FF1-92AC-422E-B4B1-614D491E4A24[ at ]microsoft.com...
[Quoted Text] > 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
|