|
-
Mar 24th, 2000, 11:15 AM
#1
Thread Starter
New Member
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
-
Mar 24th, 2000, 12:06 PM
#2
Lively Member
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...
-
Mar 24th, 2000, 09:29 PM
#3
Hyperactive Member
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.
-
Mar 25th, 2000, 03:28 PM
#4
Thread Starter
New Member
Thanks, I will try it.
Niranjan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|