-
Does any one knows how to use SHELL or any other command in VB to call & terminate dos programs?
I need to run a dos exe, with this command and when user exist this prog. (doc) it should return back to main VB program.
Any help on this will greatly appreciate.
Thanks
-
heh you said it yourself the command is SHELL
Shell "file"
And if I were you I would just make it so that when the VB prog regains focus it assumes its done, but thats not that good, maybe someone else can help there.
HOORAY! THIS IS MY FIRST QUESTION I HAVE EVER ANSWERED! or at least partly...
-
Hi,
One of the problems I had with Shelling Dos programs is that the Dos program wasn't finished before VB continued. A tip on this site solved it for me.
See:
http://www.vb-world.net/tips/tip5.html
Al.
-
Thanks, I will try it.
Niranjan