The Microsoft Visual Studio 2005 team has posted workaround for the COM Exception generated at the EndInit() line when using a Visio Drawing Control in a application.
Here it is:
This problem is caused by a combination of (a) way the visual studio hosting process runs a user's application and (b) the specific implementation of the Visio drawing control.
The recommended workaround for Visual Studio Whidbey is to disable the hosting process for this project if you use the Visio drawing control. The option to disable the hosting process can be found on the "Debug" property page in Beta2 and subsequent builds.
We will look at alternate ways we can re-address this issue in future versions of Visual Studio.
- Michael Eng - Visual Studio Core Team
8:52:02 PM
|