Visio OCX/Control for WinForms in C# VS.NET 2005

W

Wayne Gibson

Hi,
was wondering if anybody could help. I need to export some 2D data from my
application to Visio.

If I understand what I have read, I need to use the Microsoft Visio OCX.
But this means that Visio needs to be installed on the clients machine,
Correct?
Does anybody know if I can distribute the Microsoft Visio OCX with my
application or must the client buy it?
What is the best way of using the Microsoft Visio OCX in my application, as
when I have included the control in the application and installed it on a
machine without visio installed. The application won't start, because the
Microsoft Visio OCX isn't installed. Any ideas?

Is there an alternative to the Microsoft Visio OCX?

Thanks

Gibbo
 
J

JuneTheSecond

Visio needs to be installed is correct.
How would you consider to take Visio Viewer.
 
A

Al Edlund

If the clients have to interact with the drawing then Visio must be
installed. If the clients do not have to interact then you can use the visio
viewer in your application. You can also save the visio drawing in several
different formats and forward them.
al
 
W

Wayne Gibson

Thanks for responding...

Clients don't need to interact with the drawings.. But my application does,
as I need to export some 2D drawings to visio and the only way I can think
of doing it at the moment is to use the Visio OCX. I'm assuming that the
Visio Viewer won't allow me to create visio shapes?

The only other option that I have seem mentioned is to write to a Visio XML
file. But I haven't found any examples of how to do this yet!!

Thanks
 
A

Al Edlund

Well there is an excellent example in the visio sdk of creating a drawing
using C#. The output of course can be saved as a .vsd file and viewed with
the visio viewer by your clients.
al
 
W

Wayne Gibson

Yes I have seen it.. But it requires that Visio is installed on the
machine.. Which not all my clients will have.
 
A

Al Edlund

It only requires that it be installed on the machine that creates the
drawing. Once the drawing is created it can be forwarded in several
different formats, not of which require visio to be installed.
al
 

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