To define the custom data using solutionXML tag in Visio XML file

S

suresh

hi

how do we define the custom data using solutionXML tag in Visio XML file

I have opened the already existing XML file [for Ex. "abc.vdx"] and defined the data as the code given below
<SolutionXML Name='SolutionXML1'></SolutionXML
Now i have opened the file from an application and tries to save the file with some new data, it gives an exception error
I don't know how to rectify this

expecting your reply...

thank you..
 
C

Chris Roth [ Visio MVP ]

Try writing the SolutionXML via code first. Then you can see how Visio
structures it in the .vdx file.

Check out these automation items to get started:

visio.ActiveDocument.SolutionXMLElement
visio.ActiveDocument.SolutionXMLElementCount
visio.ActiveDocument.SolutionXMLElementExists
visio.ActiveDocument.SolutionXMLElementName

--

Hope this helps,

Chris Roth
Visio MVP


suresh said:
hi,

how do we define the custom data using solutionXML tag in Visio XML file.

I have opened the already existing XML file [for Ex. "abc.vdx"] and
defined the data as the code given below.
<SolutionXML Name='SolutionXML1'></SolutionXML>
Now i have opened the file from an application and tries to save the file
with some new data, it gives an exception error.
 
D

David Parker

Download the Visio SDK and look in the code library

suresh said:
hi,

how do we define the custom data using solutionXML tag in Visio XML file.

I have opened the already existing XML file [for Ex. "abc.vdx"] and
defined the data as the code given below.
<SolutionXML Name='SolutionXML1'></SolutionXML>
Now i have opened the file from an application and tries to save the file
with some new data, it gives an exception error.
 

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