Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

[PLAIN][sOLVED] Forcing ext_cm_Startup for a C# interop Excel AddIn[/PLAIN]

 

How can I force my C# interop AddIn for Excel to be invoked in "connect on startup" mode (i.e., with the connectMode parameter to OnConnection to be set to ext_cm_Startup)? By default, it runs as "connect after startup" (connectMode comes in as ext_cm_AfterStartup).

 

I understand that this is controlled by some sort of registry setting, but I haven't been able to figure out which registry item gets set to which value.

 

Thanks in advance for any pointers to documentation that you can give me.

Edited by Hippo Man
Posted
How can I force my C# interop AddIn for Excel to be invoked in "connect on startup" mode (i.e.' date=' with the [b']connectMode[/b] parameter to OnConnection to be set to ext_cm_Startup)? By default, it runs as "connect after startup" (connectMode comes in as ext_cm_AfterStartup). ...

Well, I found the answer here (look for the words Registering an Addin):

 

http://www.codeguru.com/cpp/misc/misc/microsoftofficeoutlook/article.php/c3797/

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...