Help Center

CWhsExec.GetProcessIDmethod

The process ID (PID) for a process started with the Exec method.

Windowsmethoddocumented

Syntax

FUNCTION GetProcessID () AS LONG

Description

Returns the process ID (PID) for a process started with the Exec method (called by the constructor).

Remarks

You can use the GetProcessID property to activate an application (as an argument to the AppActivate method).

Reference

  • Defined in AfxNova/AfxWsh.inc:402
  • Documented in Windows/Windows Script/Windows Shell.md
  • Topic: Windows Shell