Can I create a Visio doc with my own code?

T

TheCaveman

I am trying to figure out a way to create or modify a Visio doc from outside
of Visio. For example, I'm doing SNMP queries on a FreeBSD box using Perl and
as I gather information from network devices I would like to update my Visio
drawings that reside on WinXP, Win2003, and/or Win2000 boxes. The programming
or scripting language isn’t a problem—I’ve can use just about anything that’s
necessary, although a portable language or script would be great.

Thanks,
Chuck Coker
----------------------------------------------------------------
Chuck Coker chuck.coker (et) rcc (dit) edu
Riverside Community College, Information Services
4800 Magnolia Avenue, Riverside, California 92506, United States
+1 951 222 8759 (desk) +1 951 830 8068 (cell)
----------------------------------------------------------------
 
D

David Parker

You have a full automation model if you want to use the Visio object
library, or you could write XML or SVG that is coverted into Visio diagrams
automatically.

You could also do a mixed solution: Automate the Visio client on a Windows
PC to create the graphics and then save as XML or SVG, and just update
certain properties in Perl accross the network.
 
A

Al Edlund

Dave,
a very interesting mixed model approach,
al

David Parker said:
You have a full automation model if you want to use the Visio object
library, or you could write XML or SVG that is coverted into Visio
diagrams automatically.

You could also do a mixed solution: Automate the Visio client on a Windows
PC to create the graphics and then save as XML or SVG, and just update
certain properties in Perl accross the network.
 
T

TheCaveman

David,

Thank you for your reply. I now have several avenues to explore. I've been
unable to find examples of multiple network apps working together — in my
case, MRTG/RRDTools, Visio, and WhatsUp Gold. I'm sure I'm not the first
person to think about this.

Once I solve this problem, is it appropriate to post a follow-up to this
forum? If not here, is there someplace that would be more appropriate?

Thanks for your help,
Chuck
 
G

gsureshkr

Hi all,
I need to export some network diagrams (and some images) to Visio. I thought
of the option of generating "xml for visio". But I didnot get the detailed
documentation for .vxd file format on the MSDN. Can anyone help?

Regards & thanks
 
E

Eric

IMHO, the XML document format is rather complicated - it's an XML
serialization of the Visio objects. You should use the Visio object model
to add pages, shapes, etc. to your document.
 
Top