T
timt
Hi, we're having some trouble with an integrated visio control in c#.
On one pc everything works fine, but on two other pc's the same code
throws the following exception:
An unhandled exception of type
'System.Runtime.InteropServices.InvalidComObjectException' occurred in
Microsoft.Office.Interop.Visio.dll
Additional information: COM object that has been separated from its
underlying RCW cannot be used.
on this code:
this.Document.Application.ConnectionsAdded += new
Application_ConnectionsAddedEventHandler(this.visioControl_ConnectionsAdded);
All pc's use the same visual studio and have the same visio sdk version
installed, so we're really puzzeled by this problem. If anyone has an
idea why the same code works perfectly on one pc, and gives an error on
the others, please let us know.
Thanks, timt
On one pc everything works fine, but on two other pc's the same code
throws the following exception:
An unhandled exception of type
'System.Runtime.InteropServices.InvalidComObjectException' occurred in
Microsoft.Office.Interop.Visio.dll
Additional information: COM object that has been separated from its
underlying RCW cannot be used.
on this code:
this.Document.Application.ConnectionsAdded += new
Application_ConnectionsAddedEventHandler(this.visioControl_ConnectionsAdded);
All pc's use the same visual studio and have the same visio sdk version
installed, so we're really puzzeled by this problem. If anyone has an
idea why the same code works perfectly on one pc, and gives an error on
the others, please let us know.
Thanks, timt