Visio Document.FullName

J

John Blight

Does anyone know the mechanism behind Visio's Document.FullName property?

It would help, when trying to match files, if I could employ the same method
that Visio does. I don't want to use Visio's object model, as there is too
much overhead in opening a document in Visio just to get that information.

For example, when a Visio document is opened from a SharePoint location via
a mapped drive, Visio's Document.FullName will return an HTTP-prefixed path.
In order to match files, I'm currently converting paths to UNC, but I wonder
if there is a method that's more consistent with Visio's method of
identifying files.
 
J

JuneTheSecond

You can check it, if you save Visio drawing as xml. It seems Visio drawing
istself has no information about the full path where it is saved.
 
J

John Blight

Would you mind clarifying your suggestion?

The Visio files are in XML format (Visio VDX format). However, there's no
path information in the XML, which makes sense, as it would be invalidated if
the file were copied or moved to another location.

Thanks.
 

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