|
-
August 25th, 1999, 04:28 AM
#1
How to run a DOS application in VB application without display the Window's DOS shell window?
Hi,
I want to run a DOS application from my VB application.
My question is how to run a DOS application in VB application without display DOS prompt window.
-
August 25th, 1999, 04:58 AM
#2
Re: How to run a DOS application in VB application without display the Window's DOS shell window?
this works under NT 4
Shell "cmd.exe /C dir",vbhide
(in win95 you should use command instead of cmd
-
August 25th, 1999, 05:47 AM
#3
Re: How to run a DOS application in VB application without display the Window's DOS shell window?
Thank u very much.
One more question, my application will lose focus (VBHide) and doesn't wait for the dos application end.
May be I can use AppActivate to get focus again, I am not sure.
How to detect if the started dos application is ended?
-
August 25th, 1999, 06:26 AM
#4
Re: How to run a DOS application in VB application without display the Window's DOS shell window?
if you need to wait for the end of the started app, I suggest you use the CreateProcess API and WaitForSingleObject.
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
|