Visio 2002 IDataObject to get Document Stream

S

Simon Bradley

Hi,

I would like to load a Visio 2002 VDX into an MSXML DOM
object. Currently this achieved by saving the file using
ActiveDocument.SaveAs, then loading the file into a DOM
Document using DOMDocument.load. This causes problems
with temp files, cleaning up, etc..

Is it possible to get the VDX as a text stream without
first saving it? Then, I could use loadXML and NOT have
to save the file first.

It seems to have something to do with support for
IDataObject for document object - but I can find no
examples,

Many thanks,

Simon
 

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