Hi,
From my VB6 program, I am executing a utility in command mode using coenspan.exe (Thanks to everyone. got help on doing this from this forum in my earlier post.)
This utility takes user name, password and other inputs from users, executes at the background and pops up the results in message box.
However, I have noticed that when the username or password are incorrect, the utility operates in interactive mode. (Asks for user name and password interactively from the user) Because of this my program is waiting for indefenite period and hanging. I am having to terminate the program each time this is happening.
Is there a way I can resolve this issue ? Maybe wait for the output for a specific period of time and then return the control back to the form displaying a message to the user or something like that.![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Your suggestions and help is appreciated.
Thanks,
Vidya.
From my VB6 program, I am executing a utility in command mode using coenspan.exe (Thanks to everyone. got help on doing this from this forum in my earlier post.)
This utility takes user name, password and other inputs from users, executes at the background and pops up the results in message box.
However, I have noticed that when the username or password are incorrect, the utility operates in interactive mode. (Asks for user name and password interactively from the user) Because of this my program is waiting for indefenite period and hanging. I am having to terminate the program each time this is happening.
Is there a way I can resolve this issue ? Maybe wait for the output for a specific period of time and then return the control back to the form displaying a message to the user or something like that.
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Your suggestions and help is appreciated.
Thanks,
Vidya.