Sorry
I don't fully understand the suggestion, i just want to know in that code where to put an option to finish the external execution if it hangs
thanks
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...
Your solution is nice but whenever i run it with this
ssh -root apsu0001 /opt/apvadmin/bin/HpAddMySql JMG pass NT
the application hangs
you know why?
Thanks in advance
Javier
TO Peter Westling
I think i don't fully understand your solution, how could you implement that?, i mean i just put the code that you type here in the loadform? or how does that work?
Thanks in advance
SemperFiDownUnda:
About this:
<< have you looked at PuTTY? It is a free Telnet/SSH client.
God I hate saying this. But I can't give you the code we have as its not based on Open Source and I don't own the IP. But for your project you might be able to use the PuTTY code and write a small...
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
Ok let me explain:
What i want is to run a DOS Application (it does not matter if is ssh or whatever)
I want that if the DOS application hangs the program ends by timeout so i will be able to send an error message, but if the program finishes ok, i would like that the program cancels the...
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.