Im running an external process in visual basic using the API which is ok (everything runs perfect) but if the external process hangs asking a question i would like to kill the external process using a time out, how can i do this?
Thanks in advance (my process comes as follows:)
Private Declare...
im using the attached process to run an external program, everything works fine, but whenever the external program hangs my application hangs, how can i implement a timer to stop the application if the external program hangs?
thanks in advance
Public Function ExecuteApp(sCmdline As String) As...
Hi
I run this command in a DOS Window via visual basic:
shell (ssh apsu0001 /opt/apvadmin/bin/HpAddMySql param1, param2,1)
Everything is ok BUT i would like to use the results that the shell are presenting in the DOS window (i mean take the screen results and put it on a textbox).
is that...
It is posible to run a program with the shell function, wait for it to end for certain time, and if ends ok send an "OK" message and unable de tiemer and if not send a timeout error?
Thanks in advance
Im running an ssh shell in visual basic, what i want to do is that the DOS window get the focus, and my vb program gets aware of it, once a timeout is complete it would rise me an error, but if is run ok, i want that the vb application finishes ok?, is that posible?, i hope this make sence...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.