Word add-in fails to load

T

tobiasebsen

Hi

I've searched all over the web for an answer to this, but none of the
answers I found solves my problem.

My add-in is developed for Word using Extensibillity in .NET and C#

The add-in works fine on my develpment system, but fails to load on
other PCs.

As many others have experienced the LoadBehavior gets changed from 3
to 2 whenever I start Word. Usually this means that the add-in has
caused an exception, but as far as I can see my OnConnection never
gets called, wich makes it hard for me to debug.

I've gone all over the registry to examine what's wrong, but I can't
find anything missing. The assembly is registred exactly the same way
as on my development system.

I'm pretty sure I've included all the PIAs (extensibility.dll +
Microsoft.Office.Interop.Word.dll + office.dll)

PLEASE HELP ME - I'M STUCK!
 
N

NickP

Aaah, and now for some real Debug messages,

add an envrionment variable

VSTO_SUPPRESSDISPLAYALERTS

with a value of 0

and voila, an error message!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top