V
vince
I have an embedded Visio drawing control that resides in a C# form that can
be closed by the user. When the form is recreated, I can load the Visio
file, but when I try to set the correct page I get an exception reading
"Inappropriate target object for this action." The file seems to load
correctly and I can display information just fine. Do I need to do something
special to destroy or recreate the drawing control instance? I've tried
closing the document in the dispose for the form. I have also tried loading
a blank Visio file in the dispose.
Thanks in advance.
be closed by the user. When the form is recreated, I can load the Visio
file, but when I try to set the correct page I get an exception reading
"Inappropriate target object for this action." The file seems to load
correctly and I can display information just fine. Do I need to do something
special to destroy or recreate the drawing control instance? I've tried
closing the document in the dispose for the form. I have also tried loading
a blank Visio file in the dispose.
Thanks in advance.