C
Corey Scheich
I am writing a simple exe that will locate a company file for the user with
minimal input and open it in the appropriate application (Same as Explorer)
Problem is sometimes the user may want to open a few files. I was opening
them in a For....Next loop and it seems that if a file takes longer than a
few seconds to open it is dropping the other files. I presume that I need
to wait for the process that was sent to stop I think what I need to use is
Dim MyProcess as Process
Myprocess = Process.Start(psi)
Myprocess.WaitForInputIdle (INFINITE)
since the program will remain opened so the user can use the file as
desired. Would this be best practice or is there a better way to go about
it.
this.
TIA
Corey Scheich
minimal input and open it in the appropriate application (Same as Explorer)
Problem is sometimes the user may want to open a few files. I was opening
them in a For....Next loop and it seems that if a file takes longer than a
few seconds to open it is dropping the other files. I presume that I need
to wait for the process that was sent to stop I think what I need to use is
Dim MyProcess as Process
Myprocess = Process.Start(psi)
Myprocess.WaitForInputIdle (INFINITE)
since the program will remain opened so the user can use the file as
desired. Would this be best practice or is there a better way to go about
it.
this.
TIA
Corey Scheich