Macros and Visio Drawing Control

D

Dave

Are macros supported in the Visio drawing control? I have a document that
when I open it in Visio, I get prompted to enable macros. However, I don't
get prompted to enable macros when I load it into the Visio drawing control.

The textboxes that are in this document don't work when the document is
opened in the Visio drawing control. This is similar to how it behaves if I
disable the macros when I open it in Visio.
 
A

Al Edlund

http://msdn.microsoft.com/library/d.../odc_vsprogrammingwithvisioactivexcontrol.asp

a.. Do not depend on VBA for programming logic. VBA is not included with the
Visio drawing control. As a result, documents loaded in the Visio drawing
control do not execute any VBA code associated with the document. The
control's lack of a VBA run-time environment prevents the distribution of
legitimate code or malicious macros via documents loaded by the Visio
control. It also means that the user of an application hosting the control
will never see the Visio application's security dialog box warning about
macros in the document.

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