H
H Wu
Do anyone know any incompatibality between Visio Active X and Visual Studio
2005? I recently run into a problem where I Hide and Show a Visio ActiveX
Control, I got an exception error "ComException was unhandled". The error
happen when ever u try to access Visio.Window after Hide and Show the Visio
ActiveX Control. Here same codes:
Visio.Page ovPage = m_ovDocument.Pages.get_ItemFromID((int)e.Node.Tag);
m_ovWindow.Page = ovPage;
Put my mouse over m_ovWindow ... I saw couple exception errors:
'((Microsoft.Office.Interop.Visio.WindowClass)(m_ovWindow)).BackgroundColor'
threw an exception of type 'System.Runtime.InteropServices.COMException'
'((Microsoft.Office.Interop.Visio.WindowClass)(m_ovWindow)).BackgroundColorGradient'
threw an exception of type 'System.Runtime.InteropServices.COMException'
2005? I recently run into a problem where I Hide and Show a Visio ActiveX
Control, I got an exception error "ComException was unhandled". The error
happen when ever u try to access Visio.Window after Hide and Show the Visio
ActiveX Control. Here same codes:
Visio.Page ovPage = m_ovDocument.Pages.get_ItemFromID((int)e.Node.Tag);
m_ovWindow.Page = ovPage;
Put my mouse over m_ovWindow ... I saw couple exception errors:
'((Microsoft.Office.Interop.Visio.WindowClass)(m_ovWindow)).BackgroundColor'
threw an exception of type 'System.Runtime.InteropServices.COMException'
'((Microsoft.Office.Interop.Visio.WindowClass)(m_ovWindow)).BackgroundColorGradient'
threw an exception of type 'System.Runtime.InteropServices.COMException'