Addon.Run Method
Visio Automation Reference |
Runs the add-on represented by an Addon object.
Version Information
Version Added: Visio 4.0
Syntax
expression.Run(ArgString)
expression An expression that returns a Addon object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
ArgString | Required | String | The argument string to pass to the add-on. |
Return Value
Nothing
Remarks
If the add-on is implemented by an EXE file, the arguments are passed in the command line string. If the add-on is implemented by a VSL file, the arguments are passed in a member of the argument structure that accompanies the run message sent to the VisioLibMain procedure of the VSL.
Security Use caution when running executable files or code in macros or applications. Executable files or code can be used to carry out actions that might compromise the security of your computer and data.
See Also