Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App won't see dbf written with vb
Message
From
02/04/2003 13:38:20
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00773108
Message ID:
00773126
Views:
11
Rodolfo, this would put your VFP app in a very fast loop and send the cpu usage to 100%. If you use this method then put an INKEY() or SLEEP() (Win API) inside the loop. The alternative would be to use API_AppRun utility in downloads section or WSH which can run an app and wait for it to finish.

See API_APPRUN in .VCX form File #9477


>Hi Randy,
>
>when you call a VB program, VFP doesn't stop and wait the VB finish their job... VFP just continues like anything (VB) is working...
>
>So, I think you can fix it with something like that:
>
>RUN VBProgram.EXE
>Do While !File("NameOfFile.TXT")
>EndDo
>
>
>Add something to check if the file isn't created by VB and this case your program is starting a infinite loop...
>
>[]s
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform