Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run SHELL command syncronously in VB
Message
 
 
À
10/11/2000 05:07:45
Santosh Patil
Kaizen Software Pvt Ltd.
Mumbai, Inde
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00440093
Message ID:
00440355
Vues:
12
>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

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform