ProcessID property

Microsoft Visio Developer Reference

ProcessID property

See also       

Returns a unique process ID for a Microsoft Visio instance.

Version added

2.0

Syntax

retVal = object.ProcessID

retVal

Long. The process ID for the Visio instance.

object

Required. An expression that returns an Application object.

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.