The GetTargetID function retrieves the target ID previously specified with AppCom.SetTargetID.
Syntax
Integer AppCom.GetTargetID()
Parameters
The GetTargetID function has no parameters.
Return value
The GetTargetID function returns the ID.
Example
curTrgID = myAppCom.GetTargetID()