I have a problem when running a dos application using shell, being that the application dos is very laborious as timing, the program times out. I tried to set the Timeout to -1, but in doing so the Dialog window is blocked while the application does not end the calculation.
I would like some suggestions, kind regards
Dim path as string
Dim bash as New Shell
path = "cmd.exe /c Appdos.exe"
bash.TimeOut = -1
bash.Mode = 0
If instead imposed timeout 5000 the bash variable returns immediately timeout