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.
 
Top