I have used ShellExecute to print and open files, but is there a way to stop/close a running VB6 exe that was started using a Shell function?
I have a main VB program that launched an exe using the Shell function (not ShellExecute). So far, everythings fine. What I want to do is have a way to close the program started by the Shell function if it has run for an excessive amount of time without closing.
example:
RetVal = Shell("C:\RegisterSO\RegisterSO.exe ", vbNormalFocus)
Can this be done through ShellExecute or Shell? If so, how?
I have a main VB program that launched an exe using the Shell function (not ShellExecute). So far, everythings fine. What I want to do is have a way to close the program started by the Shell function if it has run for an excessive amount of time without closing.
example:
RetVal = Shell("C:\RegisterSO\RegisterSO.exe ", vbNormalFocus)
Can this be done through ShellExecute or Shell? If so, how?