View Single Post
  #2  
Old 04-12-2007, 12:50 PM
kevina kevina is online now
Registered User
 
Join Date: 03-26-2003
Posts: 825
Attached is a small bld file that demonstrates what you are requesting.

This build demonstrates retrieving the process ID for a process not started by Visual Build Professional using WMI (see the FindProcesses Project script function).

Note that this function isn't needed for processes started by Visual Build Professional with a Run Program step since that action puts the ProcessID for the process in the RUNPROGRAM_PROCESSID temporary macro.
Attached Files
File Type: zip wait for processid.zip (952 Bytes, 1707 views)
Reply With Quote