Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run SHELL command syncronously in VB
Message
From
10/11/2000 14:09:14
 
 
To
10/11/2000 05:07:45
Santosh Patil
Kaizen Software Pvt Ltd.
Mumbai, India
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00440093
Message ID:
00440355
Views:
18
>Hi,
>
>I have a procedure which calls the SHELL command to carry out the DOS command. That DOS command creates a text file. But SHELL command runs an ansyncronously and this behaviour creates problem. Because My next statement after SHELL command in same procedure is to open that created text file. SHELL command's ansyncronous feature put it on other thread and next command get executed. We get an error message "File not found" because SHELL is in process.
>
>Please help me out to solve the problem

Look for my shell wait in the files section. :)
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Reply
Map
View

Click here to load this message in the networking platform