D
David Thielen
Hi;
I have an Add-In, written in C# with a shim, that runs fine on all
computers. I run it from Visual Studio fine on my computer and run a release
version that I install using an install program on test & customer machines.
It runs fine.
I copied the solution over to a test machine because I need to get the
Debug.Writeln() output from it for an error situation (fails calling VJ# from
C# if .NET 2.0 is also installed). When I built it, it said it had an error
registering it for COM (or something like that).
I tried running it under the debugger anyways and Word exited immediately.
No messages, no dropping to the debugger - it just exited.
So I went back to trying to run Word without Visual Studio. It would again
crash immediately if I told it to load the Add-In (it prompted me as the
Add-In had crashed Word previously). I finally said Yes to start without
loading my Add-In. Word then ran fine.
However, I cannot get it to run my Add-In again. I uninstalled it, rebooted
the system, then re-installed the Add-In using the installer that has worked
100% on every machine including this test machine.
It's installed in the directory. The registry settings are all correct. But
if I go to add it using Tools, COM Add-Ins..., nothing - it fails silently.
And unlike the standard shim code, I have MessageBoxes that pop up for any
error in the shim - so it's like the shim code is never being called.
HELP!!!!!
I have an Add-In, written in C# with a shim, that runs fine on all
computers. I run it from Visual Studio fine on my computer and run a release
version that I install using an install program on test & customer machines.
It runs fine.
I copied the solution over to a test machine because I need to get the
Debug.Writeln() output from it for an error situation (fails calling VJ# from
C# if .NET 2.0 is also installed). When I built it, it said it had an error
registering it for COM (or something like that).
I tried running it under the debugger anyways and Word exited immediately.
No messages, no dropping to the debugger - it just exited.
So I went back to trying to run Word without Visual Studio. It would again
crash immediately if I told it to load the Add-In (it prompted me as the
Add-In had crashed Word previously). I finally said Yes to start without
loading my Add-In. Word then ran fine.
However, I cannot get it to run my Add-In again. I uninstalled it, rebooted
the system, then re-installed the Add-In using the installer that has worked
100% on every machine including this test machine.
It's installed in the directory. The registry settings are all correct. But
if I go to add it using Tools, COM Add-Ins..., nothing - it fails silently.
And unlike the standard shim code, I have MessageBoxes that pop up for any
error in the shim - so it's like the shim code is never being called.
HELP!!!!!