Visio SaveAs woes!

X

xargon

Hi everyone,

I must say some of the things with the Visio program API is such a pain!

I call the SaveAs method from within my VBA code and save my document as
an XML document (with the vdx) extension. Now, the problem is that after I
save it, visio loads the file. What I want to do is store the file in the
hard disk, read it into a text string and delete it again!

However, now I cannot delete it as Visio has loaded the document! Is there
any way to tell visio not to load the document and just save a copy of it!

Boy, getting old here!

Cheers!
xargon
 
A

Al Edlund

as a thought, since it is xml why not save it with an xml extension. that
way visio won't get confused and try to reload it.....
al
 

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