C
Carlos Valdivia
I posted this issue in some otehr forums and was pointed here. Hopefully
whats happening will be apparent to someone.
First, my project. I am trying to learn how to build COM add-ins from
development to deployment. I used Visual Studio 2005 (pro) to build a shared
add-in project (C#) for excel. My code consists of MessageBoxes inserted into
the boiler plate constructor (Connect) and methods (OnConnection.. etc.).
When I compile and run the setup, the add-in loads at startup and works as
expected (a series of message boxes popup telling me where the Addin is in
terms of execution). When I try to run the setup and run the addin on a
computer without Visual Studio 2005, it doesn't load. When I check the COM
Add-in dialog I see a message "Not Loaded, Runtime error occured during the
loading of the COM add-in". At the suggestion of some-one else I checked to
see whether there are any disabled items in Excel (there are none). I also
tried adding the .NET extensibility assembly ti the setup project by hand
(but not registering it). Again, no effect.
It has also been suggested that I try using a COM Shim add-in. I will
definitely look into that in the future, but I would really like to
understand what is happening in my simple case first.
Thanks for any help,
Carlos
whats happening will be apparent to someone.
First, my project. I am trying to learn how to build COM add-ins from
development to deployment. I used Visual Studio 2005 (pro) to build a shared
add-in project (C#) for excel. My code consists of MessageBoxes inserted into
the boiler plate constructor (Connect) and methods (OnConnection.. etc.).
When I compile and run the setup, the add-in loads at startup and works as
expected (a series of message boxes popup telling me where the Addin is in
terms of execution). When I try to run the setup and run the addin on a
computer without Visual Studio 2005, it doesn't load. When I check the COM
Add-in dialog I see a message "Not Loaded, Runtime error occured during the
loading of the COM add-in". At the suggestion of some-one else I checked to
see whether there are any disabled items in Excel (there are none). I also
tried adding the .NET extensibility assembly ti the setup project by hand
(but not registering it). Again, no effect.
It has also been suggested that I try using a COM Shim add-in. I will
definitely look into that in the future, but I would really like to
understand what is happening in my simple case first.
Thanks for any help,
Carlos