H
Husain
Hi,
I have developed an application wherein I have embedded the Visio
ActiveX control in a Windows Application.
Whenever the user drags a shape onto the drawing surface, the program
code (in C#) adds a page to the drawing control with the Page name as
the type of shape dragged. Eg, when a Activity Shape is dragged the
page name is assigned as 'Activity1', or is a SubProcess shape is
added, the page name is set to 'SubProcess1' etc. The number suffixed
to the Shape name is programatically determined and is always a whole
number.
However, on one ocassion, the page name has got a name like
'Activity5.23'. This is causing problems in the rest of the code. This
problem is not reproducible and has occurred only twice. Can someone
give any insight as to why such a problem has arisen.
Thanks,
Priya.
I have developed an application wherein I have embedded the Visio
ActiveX control in a Windows Application.
Whenever the user drags a shape onto the drawing surface, the program
code (in C#) adds a page to the drawing control with the Page name as
the type of shape dragged. Eg, when a Activity Shape is dragged the
page name is assigned as 'Activity1', or is a SubProcess shape is
added, the page name is set to 'SubProcess1' etc. The number suffixed
to the Shape name is programatically determined and is always a whole
number.
However, on one ocassion, the page name has got a name like
'Activity5.23'. This is causing problems in the rest of the code. This
problem is not reproducible and has occurred only twice. Can someone
give any insight as to why such a problem has arisen.
Thanks,
Priya.