I am using WMI to create a process ...such as...
Set WMIService = GetObject("winmgmts:\\" & computer "\root\cimv2:Win32_Process")
WMIService.Create("notepad", Null, Null, intProcessID)
....this works fine...which starts notepad.exe. However, I want to wait until notepad.exe is closed before moving on in my program. I am using VB6, any idea how I can wait for the process to complete??