Hippo Man Posted May 2, 2006 Posted May 2, 2006 (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 May 2, 2006 by Hippo Man Quote
Hippo Man Posted May 2, 2006 Author Posted May 2, 2006 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/ Quote
Recommended Posts