A
Asif Imran
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 drawing
file in Drawing Control.
I did do the following on my machine running Windows XP Professional
(Service Pack 2), NET Framework 1.1 and Visio 2007 Professional Edition.
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.
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 drawing
file in Drawing Control.
I did do the following on my machine running Windows XP Professional
(Service Pack 2), NET Framework 1.1 and Visio 2007 Professional Edition.
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.
Can anyone tell me about whets I am going wrong?
Thanks
Asif