A
Asif
Hi All,
We have a Process Mapping application that uses Visio 2003 Active X
drawing control for diagram mapping using VB.NET.
We are going to upgrade / compatible our application to run on both
versions of Visio ( 2003 and 2007) but if I run our current
application on machine running Visio 2007, application crashes and does
not run.
If we open application code in Visual Studio 2003, a lot of reference
errors are shown. Some of them are given below:
Reference required to assembly 'Microsoft.Office.Interop.Visio'
containing the type 'Microsoft.Office.Interop.Visio.Document'. Add one
to your project.
Type 'Microsoft.Office.Interop.Visio.Document' is not defined.
Namespace or type 'Visio' for the Imports
'Microsoft.Office.Interop.Visio' cannot be found.
Type 'Microsoft.Office.Interop.Visio.Page' is not defined.
There is an error sign shown in References section of the Project
(Visio and VisOcx references)
Is there any way to make application compatible with both Visio
versions?
Thanks
Asif
We have a Process Mapping application that uses Visio 2003 Active X
drawing control for diagram mapping using VB.NET.
We are going to upgrade / compatible our application to run on both
versions of Visio ( 2003 and 2007) but if I run our current
application on machine running Visio 2007, application crashes and does
not run.
If we open application code in Visual Studio 2003, a lot of reference
errors are shown. Some of them are given below:
Reference required to assembly 'Microsoft.Office.Interop.Visio'
containing the type 'Microsoft.Office.Interop.Visio.Document'. Add one
to your project.
Type 'Microsoft.Office.Interop.Visio.Document' is not defined.
Namespace or type 'Visio' for the Imports
'Microsoft.Office.Interop.Visio' cannot be found.
Type 'Microsoft.Office.Interop.Visio.Page' is not defined.
There is an error sign shown in References section of the Project
(Visio and VisOcx references)
Is there any way to make application compatible with both Visio
versions?
Thanks
Asif