P
Peter Smithson
Hi,
I'm having problems programatically saving Visio files in the desired
format or finding out what version they were saved in.
I'm using Visio 2003 to open a 2002 document.
So far I have found that I can use SaveAs from the document object to
always save the document in 2003 format without any prompting (despite
any settings in the Tools->Options->Save tab).
If I replace the SaveAs call with a simple Save call, it will always
prompt despite un-ticking the "Show File Save Warnings".
This might be enough functionality to do what I want depending on
configuration options of the product I'm developing BUT - how do I
find out what version the document is in?
Obviously, the "Version" method would be a good start but it always
reports the current version (the documentation mentions that the
documents are converted on the fly when opened to the latest
version). There are some other version functions but they all return
the latest version. The Version method seems to be just for changing
the format to be saved in.
So, other than finding out the original version of the document,
another acceptable solution would be if I could specify the file
version in the SaveAs but I don't think I can.
Thanks.
Peter.
I'm having problems programatically saving Visio files in the desired
format or finding out what version they were saved in.
I'm using Visio 2003 to open a 2002 document.
So far I have found that I can use SaveAs from the document object to
always save the document in 2003 format without any prompting (despite
any settings in the Tools->Options->Save tab).
If I replace the SaveAs call with a simple Save call, it will always
prompt despite un-ticking the "Show File Save Warnings".
This might be enough functionality to do what I want depending on
configuration options of the product I'm developing BUT - how do I
find out what version the document is in?
Obviously, the "Version" method would be a good start but it always
reports the current version (the documentation mentions that the
documents are converted on the fly when opened to the latest
version). There are some other version functions but they all return
the latest version. The Version method seems to be just for changing
the format to be saved in.
So, other than finding out the original version of the document,
another acceptable solution would be if I could specify the file
version in the SaveAs but I don't think I can.
Thanks.
Peter.