P
Peter Karlström
Hi
I have been working in a COm Addin project for Word since 2006.
Today "some" parts of the component suddenly stops working.
When testing, everything works fine in Debug mode in Visual Studio 6 (VB).
But when I compile the DLL and try it out just some parts work.
The Design-parts of the code with AddinInstance_OnConnection and
AddinInstance_OnStartupComplete run as usual, but the Word events
DocumentOpen and WindowActive doesn't trigger at all.
When I double-click on a Word document in Windows Explorer, Word starts as
usual, but the document window is empty and my toolbar isn't visible.
If I double-click the document file a second time it shows up and everything
works as before.
The code or the component is not changed and this problem did not exist
yesterday.
If I unregister my COM Addin documents open as before. If I reregister it
the problem starts again.
So I have tried to repair AND reinstall Office. I have uninstalled the
latest Word 2003 patch wich I installed along with som other fixes this
morning.
Also, I have a similar COM Addin for Excel but no problem there.
I'm beginning to be desperate, and really hope that the problem hasn't
occured yet at my customers 200+ PCs.
Is there anybody who know what to do about this.
Thanks in advance
I have been working in a COm Addin project for Word since 2006.
Today "some" parts of the component suddenly stops working.
When testing, everything works fine in Debug mode in Visual Studio 6 (VB).
But when I compile the DLL and try it out just some parts work.
The Design-parts of the code with AddinInstance_OnConnection and
AddinInstance_OnStartupComplete run as usual, but the Word events
DocumentOpen and WindowActive doesn't trigger at all.
When I double-click on a Word document in Windows Explorer, Word starts as
usual, but the document window is empty and my toolbar isn't visible.
If I double-click the document file a second time it shows up and everything
works as before.
The code or the component is not changed and this problem did not exist
yesterday.
If I unregister my COM Addin documents open as before. If I reregister it
the problem starts again.
So I have tried to repair AND reinstall Office. I have uninstalled the
latest Word 2003 patch wich I installed along with som other fixes this
morning.
Also, I have a similar COM Addin for Excel but no problem there.
I'm beginning to be desperate, and really hope that the problem hasn't
occured yet at my customers 200+ PCs.
Is there anybody who know what to do about this.
Thanks in advance