how to create object for a visio document.
-
Hi, I've one stencil(sample.vss) file and trying to create Visio.Document object. How to create visio document object for the sample.vss file. Thanks in advance.
Most of MSFT's objects are propriatary. Not that you can't figure out the protocol (in this case Visio protocol) but it's usually pretty complicated. Not to panic, what I've done in the past is attempt to save MSFT as a web page and decipher it that way. Looking at HTML is the "Common Thread" that we all easily understand. Because Visio involves graphics you may have to dig in a bit deeper because yes, even graphics have protocols. XML is another good way to "skip the internals" of a file protocol. XML is another Easy way to get the Visio engine to respond to simple commands via the markup. So here's a start fo you take a look here and see if you can't find a mapping for the file format you want: Google Search for Visio File format