A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Add-in doesnt load when outlook is started from VBS



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 26th 06, 10:52 AM posted to microsoft.public.outlook.program_addins
Msyrak
external usenet poster
 
Posts: 2
Default Add-in doesnt load when outlook is started from VBS

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
Ads
  #2  
Old May 26th 06, 04:51 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Add-in doesnt load when outlook is started from VBS

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" wrote in message
...
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add ContactItems to DLItem with VBS Christoph Fricke Outlook and VBA 8 May 10th 06 07:03 PM
COM Add in won't load other than with IDE on WS2003/XP [email protected] Outlook and VBA 2 April 12th 06 07:56 PM
How con I add Nodes to my TreeView in OL2003 Forms (VBS) HelixX23 Outlook - Using Forms 1 January 17th 06 12:26 AM
Add-In in Outlook doesn't load any more outl00kalium Add-ins for Outlook 0 January 8th 06 05:49 PM
Outlook 2003: Add-In doesn't load any more outl00kalium Add-ins for Outlook 0 January 8th 06 02:46 PM


All times are GMT +1. The time now is 10:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.