Mismatch in Visio 2003 Interop function with the actual Control functionality

K

Kiran Nakhate

Hi all,

We are integrating Visio functionality in our application using C#.Net
development tool.
Here, we are adding the Visio 2003 ActiveX control to the form & it adds all
the interop dll's
automatically. All these are fine..

Through the Visio automation, we could able to get the custom properties of
the shape. For the retrieval,
we have to use CellsSRC method of the shape object. But, this is not
available in the Interop Viso Object model.
If i add the Visio Object library in VB 6.0, it shows all the functionality
& CellsSRC method is available in Shape Object.

Can anyone of you knows the solution for this problem.

Version: Visio 11.0 Object Library - VisLib.Dll

Regards,

Kiran Nakhate

Email: (e-mail address removed)
 
K

Kiran Nakhate

Hi Bill,
Look for Shape.get_CellsSRC(...) - This Option worked. Thanks Bill..

One more thing...

Here, I am using Microsoft Visio 2003 ActiveX Control & Visio Control
Library version 11.0
Using this component, i want to set the custom icon to the Stencil Masters.

The following are the queries i want to clarify:

1) Can we directly import an icon, which is of .ico extension? (or) "We
have to always create an icon by exporting from the Master &
the same have to be used for importing". Why?

2) What is this TransparentRGB parameter in the ImportIcon method. How to
create this TranparentRGB object. Actually, this parameter is optional in
this COM control. If we
are using this functionality using the Interop, this is coming as mandatory.
Pl also let me know on this..

If you have a sample code on this import & export, Pl send it across...

Thanks & Regards,

Kiran Nakhate
Email: (e-mail address removed)
 

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