Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning control to vfp after run command?
Message
 
 
To
30/05/2001 21:27:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00512963
Message ID:
00513138
Views:
12
David,

A side note, but are you sure, you want to use run command? You may try Ed Rauh's class from Download section here, it should give you more flexibility, than run command.

>Ok, I will try this too. It is VFP6 for this project. Maybe in another post I referenced VFP5 for Visual Accountmate LAN3x?
>
>TY
>
>>David,
>>Maybe you can forcefully check if it's completed.
>>
>>
handle=fopen(TargetFile,12)
>>if handle<=0
>> messagebox(ferror())
>>else
>> lnSizeWritten=fseek(handle,0,2)
>> =fclose(handle)
>>endif
>>lnSizeWritten=fsize(lcSource)
>>
As I remember you were using VFP5. If VFP6 you could also StrToFile() and FileToStr().
>>Cetin
>>
>>
>>
>>>Cetin,
>>>
>>>I am coding some statements to force the program to wait 20 seconds after the file zipup and file copies. That should be way more than enough. I hope that helps. I don't have access to the user's machine, so I can't tell what type of settings are being used. I will let you know.
>>>
>>>Thanks again.
>>>
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform