How to enable RUNMACRO in DrawingControl

F

fagim sadikov

VS 2005, Visio 2003, embeded Visio Drawing Control on Form.

Trying to load VTX template that references VSS file and this VSS file
contains VB MACRO that is calling from Actions.cells and DblClickEvent of
Shapes.

Calls are defined as RUNMACRO('MacroName','VSSFILE.VSS')
and
CALLTHIS('MacroName','VSSFILE.VSS')

all works fine in Visio itself

in my Form ALL commands do nothing - nor DblClick nor Actions - nor error
nor any work.

What's the problem?

FOR ADDITIONAL INFORMATION:

1. Security for Macros was setted to Low (in Visio)
2. Locating macroses in VTX to exclude second parameter of RUNMACRO (i
thought that it's problem of document reference) was not help
 
J

JuneTheSecond

I've heard that drawing control does not support VBA macro.
You could found it is documented somewhere in help or msdn online.
 

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