Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sequential execution with a DOS based application
Message
From
26/02/2001 15:40:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Sequential execution with a DOS based application
Miscellaneous
Thread ID:
00479717
Message ID:
00479717
Views:
59
Hi to everyone, I am new at this forum and I have just started developing in vfp and I have the following problem.
I have a prg in vfp 5.0 that runs a DOS based script application using the "Run" command. This application creates 2 new files in a default directory that is later accessed by the following lines in my prg via a FOPEN command.
The thing is, I am getting at times an access conflict on these files as I cant
make sure that the Fopen commands only executes after the other application has finished running. Appart from this, the DOS application doesnt close up after execution, so I dont know exactly when it has definitely let go of the files it has created.
Is there some way I can make execution totally sequential even if I am working in a windows environment? (Tried some things with the file() and sys(16) and even using a timer but none worked a 100pct or were efficient enough). Hope I´ve been clear enough and someone can lend me a hand.

Thanks in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform