A
Asif
Hi all,
An exception is occurred when I am going to use Visio 2007 Active X
Drawing Control in my sample application by adding new page after
opening any drawing file in Drawing Control.
I did do the following on my machine running Windows XP Professional
(Service Pack 2), NET Framework 1.1, Visio 2007 SDK and Visio 2007
Professional Edition.
I did do the following steps:
a) Run project and open any drawing file. File opens normally.
b) To add new drawing page through Insert Page Form, following
exception is
occurred on clicking Insert Page Form's Ok button.
An unhandled exception of type 'System.NullReferenceException' occurred
in
system.windows.forms.dll.
Additional information: Object reference not set to an instance of an
object.
c) If I click on Start button (running project in debugging mode
through
Visual Studio) another exception is thrown
An unhandled exception of type
'System.Runtime.InteropServices.SEHException'
occurred in system.windows.forms.dll
Additional information: External component has thrown an exception.
A sample project, drawing file created in Visio 2007 and PowerPoint
(snap shots for reproducing error) presentation can be downloaded at
the following URL:
http://drawingtools.webs.io/visio2007/TestProject2007.zip
Can anyone tell me about whets I am going wrong?
Thanks
Asif
An exception is occurred when I am going to use Visio 2007 Active X
Drawing Control in my sample application by adding new page after
opening any drawing file in Drawing Control.
I did do the following on my machine running Windows XP Professional
(Service Pack 2), NET Framework 1.1, Visio 2007 SDK and Visio 2007
Professional Edition.
I did do the following steps:
a) Run project and open any drawing file. File opens normally.
b) To add new drawing page through Insert Page Form, following
exception is
occurred on clicking Insert Page Form's Ok button.
An unhandled exception of type 'System.NullReferenceException' occurred
in
system.windows.forms.dll.
Additional information: Object reference not set to an instance of an
object.
c) If I click on Start button (running project in debugging mode
through
Visual Studio) another exception is thrown
An unhandled exception of type
'System.Runtime.InteropServices.SEHException'
occurred in system.windows.forms.dll
Additional information: External component has thrown an exception.
A sample project, drawing file created in Visio 2007 and PowerPoint
(snap shots for reproducing error) presentation can be downloaded at
the following URL:
http://drawingtools.webs.io/visio2007/TestProject2007.zip
Can anyone tell me about whets I am going wrong?
Thanks
Asif