Validate a VSD

K

Kannan.M.R

Hi,
I am trying to validate a visio diagram programmatically. I need to check for circular references(a shape in the lower part of the diagram connected to a shape in the upper part of the diagram) if any that exist in the VSD. To check this i loop thro the vsd's connect object and get an idea of the shapes that are connected to each other. this logic of looping thro works very fine as long as the "End" shape is present in the VSD. once i remove the end shape and try the same logic i get erroneous results. Is there any way by which i can validate the VSD. Any pointers, will be very helpful. Do we have any method by which we can know the shapes a specific shape is connected to.

Kannan
 
A

Al Edlund

one of the techniques mentioned for an external review of a drawing is to
export it into xml and then validate/refresh it there.
as a second consideration the visio2002 sdk does have some material on
connections.
al
Kannan.M.R said:
Hi,
I am trying to validate a visio diagram programmatically. I need to
check for circular references(a shape in the lower part of the diagram
connected to a shape in the upper part of the diagram) if any that exist in
the VSD. To check this i loop thro the vsd's connect object and get an idea
of the shapes that are connected to each other. this logic of looping thro
works very fine as long as the "End" shape is present in the VSD. once i
remove the end shape and try the same logic i get erroneous results. Is
there any way by which i can validate the VSD. Any pointers, will be very
helpful. Do we have any method by which we can know the shapes a specific
shape is connected to.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top