Application without COMAddins !!!

Add-in Express™ Support Service
That's what is more important than anything else

Application without COMAddins !!!
 
jperciot




Posts: 29
Joined: 2015-09-10
I need help please, i am becoming weird !

Here is my code :
var o = (Application) Marshal.GetActiveObject("Word.Application");

This is executed in a standalone assembly (dll without ADX registration in any way).
I want to execute this in Office 2010.

In debug, COMAddins returns me "Library not registered" E_TYPELIB_NOTREGISTRED !

BUT, in GAC i got it !

What's wrong?
Posted 01 Oct, 2015 09:56:04 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hello J.,

Your sample project hasn't reached us. The attachment we received contains this text: THE FILE WindowsFormsApplication1.zip, windowsformsapplication1.zip HAS BEEN REMOVED (Suspect)


Andrei Smolin
Add-in Express Team Leader
Posted 02 Oct, 2015 05:38:44 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
The same applies to your other email.


Andrei Smolin
Add-in Express Team Leader
Posted 02 Oct, 2015 05:39:14 Top
jperciot




Posts: 29
Joined: 2015-09-10
Hello,

I've found the trick. My PC was badly installed, due to many installations/deinstallations/reinstrallations of Office, some keys in registry were missing.

After a test in another PC all went good, and i've reinstalled my PC.

Now it's OK.
Posted 14 Oct, 2015 02:04:26 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Thank you for letting us know!



Andrei Smolin
Add-in Express Team Leader
Posted 14 Oct, 2015 04:37:32 Top