Drawings for Visio

Z

zgradzki

Hi,

Im writing a project that hava a subject to convert "programming code"
(like Basic, or Java...) into diagram. I want that diagram to be
readable for Visio. Visio will be my middle point used for small
changes before saving drawings as a HTML.

My question is, what is the best (the easiest) way to write a file,
that Visio can read?
I have try to do it via Macros (my parser was giving on the output a
code, that I copy-pasted to Macro), but it is not very nice. Im looking
for alternatives......

Any one any idea?

Thanks in advance
 
C

Chris Roth [MVP]

Hi ZG,

I wrote a simple tutorial for creating a Visio flowchart using code:

http://www.visguy.com/2006/09/13/create-visio-flowcharts-programmatically/

This might help you better understand the process.

You could also generate Visio xml-format diagrams (.vdx), but there's not a
good tutorial out there (yet) on how to do this.There's some info on Visio &
Xml here:

http://www.visguy.com/2006/11/30/visio-and-xml-conference-resources/


--
Hope this helps,

Chris Roth
Visio MVP

Free Visio shapes:
http://www.visguy.com/category/shapes
Visio programming info:
http://www.visguy.com/category/programming/
Other Visio resources:
http://www.visguy.com/visio-links/
 
Z

zgradzki

Hi Chris,

I have seen these links. I will based on them if I decide to go that
way.

Im still thinking how to do it. I can generate a flowchart code, but I
would have to enter that code into Macro and run it. I would prefer
that my program will generate a complete, ready to use file. I thought
I can do it via XML... but as you said, there is no tutorial yet.

Many thanks for your help. If I cant find more about going via vdx, i
will use your VBA code for sure. THANKS

ZG



Chris Roth [MVP] napisal(a):
 

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