Programming tutorial

S

simbalsyd

Hi

I would like to create Visio documents (add some lines, circles and
rectangles) programmatically from VB6 and I am looking for a simple
tutorial.

Any ideas where I can find a useful tutorial?


Thanks
Anders Sneckenborg
 
C

Chris Roth [MVP]

Hi Anders,

Like Al said, there's an article on my site. It's here:

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

It uses VBA code, which is the same as VB6. If you need to programmatically
create shapes from scratch, you'll also want to note two automation
functions:

- DrawRectangle
- DrawOval

You can find out more about them in the Developer's Help, but I just wanted
to point them out to you.

--
Hope this helps,

Chris Roth
Visio MVP

More Visio shapes, articles, development info and pure diagramming fun at:
www.visguy.com
 

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