Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Visual Studio 2005 Beta 2 has a bug that breaks debugging for WinForm applications that host the Visio 2003 Drawing Control. The problem is caused by the new VSHost process (more information can be found here https://blogs.msdn.com/dtemp/archive/2004/08/17/215764.aspx). It is not possible to disable this hosting process in Whidbey Beta 1; however Beta 2 provides the option to turn it off.
Before you debug a project that hosts the Visio Drawing Control, go into the project’s settings, select the Debug tab, and de-select “Enable the Visual Studio hosting process.” Here's a screenshot for the setting.
Once you do that, you should be able to use the Visio drawing control in your VS 2005 winform.
-- Mai-lan
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in