COM Add-ins not loading

S

Siri Krishna

Hi,
I have a add-in built in C# that works fine on my machine. But when I
try to run it on a machine with only .NET runtime, it fails to fire. If
VS.Net is installed on the machine then it works fine. Can somebody help me
with this riddle. Thanks in advance.
Siri
 
D

David Parker

Did you create a setup installation?
Did you include Extensibility.dll in the installation?
 
S

Siri Krishna

Hi David,
I used the setup installation which VS.Net creates for add-ins. Add-in
created the add-in under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Visio\Addins\
and the loadbehavior is set as 3. Extensibility.dll was included in the
installation.
I noticed that Visio resets add-in loadbehavior value to 2 whenever it
is launched. I did not understand why it is happening.
Regards,
Siri
 
D

David Parker

Have you installed the Visio 2003 SDK?

This installs Visio Add-In Wizards for C#, C++ and vb.net.
If you use these setups then all of the required settings and references are
set for you.
Check the settings of a new project, and then update your previous solutions
accordingly.
 
S

Siri Krishna

Hi David,
Thanks for the information. But we are using Visio 2002. Will this have
the wizards mentioned by you?
Regards,
Siri
 

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