iamguyster
Technical User
Hi,
I'm just looking into creating visio documents on demand using asp (or if it comes to it I will write a COM object using vb6 for the job). Anyway, using the reference in the help I have managed to figure out how to create a new document and drop shapes onto it. What I haven't figured out and is giving me some trouble is how to connect these shapes.
Can anyone provide me with sample code or hints on how to connect two shapes programatically. There is a parent-child relationship between the two that I would like to display...to eventually create an organisational chart.
Thanks in advance for the help,
Cheers,
Guy
I'm just looking into creating visio documents on demand using asp (or if it comes to it I will write a COM object using vb6 for the job). Anyway, using the reference in the help I have managed to figure out how to create a new document and drop shapes onto it. What I haven't figured out and is giving me some trouble is how to connect these shapes.
Can anyone provide me with sample code or hints on how to connect two shapes programatically. There is a parent-child relationship between the two that I would like to display...to eventually create an organisational chart.
Thanks in advance for the help,
Cheers,
Guy