Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run SHELL command syncronously in VB
Message
De
10/11/2000 05:03:22
Santosh Patil
Kaizen Software Pvt Ltd.
Mumbai, Inde
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
How to run SHELL command syncronously in VB
Divers
Thread ID:
00440092
Message ID:
00440092
Vues:
63
Hi,

In application I am executing a DOS command using SHELL command of VB. This DOS command creates one text file. The immediate next commands after SHELL command proceeds depending upon the content of "text file". But w ant to run DOS commands thru VB application.Here I can use SHELL command,but

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
Répondre
Fil
Voir

Click here to load this message in the networking platform