Run method

Microsoft Visio Developer Reference

Run method

See also   Example   

Runs the add-on represented by an Addon object.

Version added

4.0

Syntax

object.Run argString

object

Required. An expression that returns an Addon object.

argString

Required String. The argument string to pass to the add-on.

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 field of the argument structure that accompanies the run message sent to the VSL's VisioLibMain procedure.