Posted on 2006-05-05
I can run MSInfo32 from a command button with :
Dim objProcess As New Process()
objProcess = Nothing
... but the process exits as soon as it starts (MSInfo32 is displayed and stays up) and so blasts through WaitForExit (in effect, I am trying to make it modal). Can anyone explain whats happening and how I can get control of this so that I can close MSInfo if my app exits, for example. The same code performs as expected calling other applications (eg MSPaint).