A
Asif
Hi all,
I am working on MDI application that uses Visio 2003 Active X Drawing
control for Process Mapping developed in VB.NET and has been working
without any error since long time.
There are few issues that have been observed when the application is
upgraded with Visio 2007 Drawing Control (Visio 2007 Professional).
Application goes to non responding mode when files are open multiple
times. An exception is also occurred with the following message
{System.NullReferenceException}
[System.NullReferenceException]: {System.NullReferenceException}
HelpLink: Nothing
InnerException: Nothing
Message: "Object reference not set to an instance of an object."
Source: "Microsoft.Office.Interop.VisOcx"
TargetSite: {System.Reflection.RuntimeMethodInfo}
This error occurs at the line where drawing file name is assign to
control Src Property.
It is also happened when child/MDI form is closed and re-opens by
assigning file name to control.
Can any one help me to find the workaround of it as there is nothing
changes in existing code except replacement of Control with the latest
one?
Thanks a lot
Asif
I am working on MDI application that uses Visio 2003 Active X Drawing
control for Process Mapping developed in VB.NET and has been working
without any error since long time.
There are few issues that have been observed when the application is
upgraded with Visio 2007 Drawing Control (Visio 2007 Professional).
Application goes to non responding mode when files are open multiple
times. An exception is also occurred with the following message
{System.NullReferenceException}
[System.NullReferenceException]: {System.NullReferenceException}
HelpLink: Nothing
InnerException: Nothing
Message: "Object reference not set to an instance of an object."
Source: "Microsoft.Office.Interop.VisOcx"
TargetSite: {System.Reflection.RuntimeMethodInfo}
This error occurs at the line where drawing file name is assign to
control Src Property.
It is also happened when child/MDI form is closed and re-opens by
assigning file name to control.
Can any one help me to find the workaround of it as there is nothing
changes in existing code except replacement of Control with the latest
one?
Thanks a lot
Asif