KeithFrench
Programmer
I use Visual Basic Express 2005 and I need to check that an external app (cmd prompt) is running before using sendkeys to pass data to it. I have tried using:-
myProcess.WaitForInputIdle()
but if I check this with:-
Dim returnValue As Boolean
returnValue = myProcess.WaitForInputIdle
returnvalue is always false, which can be apparently caused by no message loop.
Am I doing this wrong, or is there another way?
myProcess.WaitForInputIdle()
but if I check this with:-
Dim returnValue As Boolean
returnValue = myProcess.WaitForInputIdle
returnvalue is always false, which can be apparently caused by no message loop.
Am I doing this wrong, or is there another way?