Suggestion Required - Solution with Visio 2000, 2002,2003

S

Shahzad Godil

Hi

I am in process of developing solution which was very much possible using
ActiveX control of Visio 2003. Now, problem is that ActiveX control is not
available in Visio 2000 and 2002.

Here are our requirements.

1. Our drawing will contain two part. One was user created shapes and other
will be data shape showing different data. That data will be available in
classes of my other .Net based assemblies using seperate application. In
case of ActiveX, it was very easy to implement as ActiveX, my classes and
application will be in same project. Can you please confirm how can I
implement this without ActiveX.

2. Before drawing, data will be entered in my main application. And second
phase for user will be creating of diagram and mapping that data entered.
That data is not yet save anywhere it will be available in class library
instance. Is their anyway, through which I can pass my class object
instance to visio before so that data should be available during drawing for
user. And then I can manage that data using VBA.

3. Is there any way through which I can perform following task.
a. Data Entered using my .Net based application
b. Launching Visio and sending data already entered in my data entry
block
c. User will create diagram using Visio instance
d. On Save, my .net based application get events using some way about
the name of the file and disk location where it saved.


Thanks
Shahzad Godil
 
L

LarryF

You can use Visio's automation interface to communicate between your
program and Visio 2000, 2002, and Visio 2003. The difference is that
with Visio 2003, you can use the drawing control to have the Visio
drawing right in your program, but in 2000 and 2002, the Visio drawing
is in a separate window.

You can't pass an object instancefrom your program into Visio, but your
program can start Visio and send it commands to create objects, set
their properties, and respond to events.

You need to find a copy of Developing Visio Solutions (DVS.pdf) for
Visio 2000 or Visio 2003. When you install these versions of Visio, I
think it is available as an installation option, but it isn't installed
by default. If you do a full install, look in C:\Program
Files\Visio\Docs\DVS.pdf.

Good luck
 

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