Embedding Visio 2005 control in VS 2005 app
I am trying to use the visio drawing control in a windows application on Visual Studio 2005 Beta2. Here's what I am doing:
* Add the Visio drawing control library (COM) to my toolbox;
* Drag-and-drop the drawing control into the Form (this works ok, I can see the control inside the form);
* Run the application, but I get the following error:
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))I tried doing the exact same thing on VS 2003, and it worked fine. Am I missing anything? Any ideas on how to solve this? (VS used the same Visio COM dll in both VS 2003 and 2005 projects).
TIA
Rubens

