I have a question that is critical and is driving me crazy. Visio 2003 allows you to save documents as XML. If you want to save it to a file, it is very easy and the API allows that. However, what I want to do is get the XML representation of the document in a string variable inside my VBA code.
So, basically I have a VB macro inside the Visio document and I have a string variable and I want to have the current XML representation of the Visio document.
How can I do this? i cannot have a file being saved in the hard drive. I must have the XML string from within the application!