Need help with console app to create Visio drawings

B

Bruce Rollins

I want to programmatically (C# .NET) create Visio drawings (project date
roadmaps) using simple data that I already have available in my application.
I have the SDK installed, have searched the web, and have read endlessly on
MSDN. It all refers to automation via add-ins, ActiveX controls, and macros.
All I am interested in is automatically generating drawings using the API.
Could someone point me in the direction of a good example or two?

Thanks.
 
A

Al Edlund

I guess I'm confused. The sdk has two examples of creating drawing with C#
(flowchart and office plan) that demonstrate executing against the API's.

al
 
D

David Parker

Perhaps Bruce is trying to automate from another application? Perhaps a
simple exe?
In which case, all that is needed is to include a reference to the Visio
Type lib, and use CreateApplication.
The rest of the skills are just like writing an add-in as per the SDK.
 

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