Add-in LoadBehavior changes

H

Henk

Hi,

I created a .NET Add-in (via the VS.NET 2005 extensibillity wizard) for
Office XP. It works perfectly on my development machine, but on my test
machine, it doesn't do anything. I noticed that the loadbehavior key in the
registry changes from 3 to 2 when I start an office application.

For testing I created a new add-in that only shows a messagebox in the
Connect() and in the StartUpComplete method, but no luck.

I see that word looks for the add-in in the registry, and that it loads
mscoree.dll, but after that nothing (using filemon and regmon from
sysinternals)

The test machine is a clean install with XP pro SP2, Office XP sp3 and
..NET2.0 runtime!

Anyone perhaps an idea?


greetings,
Henk
 
X

XL-Dennis

Henk,

See if the following recommendation may solve the issue You face
http://groups.google.com/group/micr...ea7d7?lnk=st&q=&rnum=1&hl=sv#4fb4c5dab2eea7d7

Make sure that the add-in has not been "blacklisted" by Word (which may set
the Loadbehavior from 3 to 2). I don't have Word installed but You should be
able to check it via Help | About Microsoft Word and in the dialog click on
the button "Disabled items..."

---------------
With kind regards,
Dennis
Weekly Blog .NET & Excel: http://xldennis.wordpress.com/
My English site: http://www.excelkb.com/default.aspx
My Swedish site: http://www.xldennis.com/
 
H

Henk

XL-Dennis said:
Henk,

See if the following recommendation may solve the issue You face:
http://groups.google.com/group/micr...ea7d7?lnk=st&q=&rnum=1&hl=sv#4fb4c5dab2eea7d7

Make sure that the add-in has not been "blacklisted" by Word (which may
set
the Loadbehavior from 3 to 2). I don't have Word installed but You should
be
able to check it via Help | About Microsoft Word and in the dialog click
on
the button "Disabled items..."


Thanks, will try this when back in the office monday morning. One thing I
know for sure, I am not blacklisted, that happened me before, so I checked
this first!

regards,
Henk!
 

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