InvisibleApp.ProcessID Property
Visio Automation Reference |
Returns a unique process ID for a Microsoft Office Visio instance. Read-only.
Version Information
Version Added: Visio 2.0
Syntax
expression.ProcessID
expression A variable that represents an InvisibleApp object.
Return Value
Long
Remarks
The ProcessID property returns a value unique to the indicated instance. The application doesn't reuse the value until 4294967296 (2^32) more processes have been created on the current workstation.
Example
This Microsoft Visual Basic for Applications (VBA) program shows how to use the ProcessID property to determine the process ID for the current instance of Visio.
Visual Basic for Applications |
---|
|
See Also