>>Howdy and grand rising,
>>
>>Is there a code in vfp 9.0 that would allow the user to see the process while running. Something like a thermometer that displays percentage complete/remaining when uploading data sets?
>
>Not really a problem, Tore gave you samples of code (and I tried M$ outside process for a while, it's ugly and not too precise, so I too wrote my own), it's the word 'upload' that may be a problem. Because, if it's a FTP or other external process, I'm not sure how and when would it let you call your code to update the progress bar*. If it's a VFP process that you want to track, just pick some place in it where you'd check for a certain condition - say, „did it move at least 2% since the last update“, and if condition met, update the bar.
>----
>* „Progress bar“ sounds like a watering hole for revolutionaries
If one knew the folder of the temporary or final transferred file, it might be possible to bind to a file system event and update a progress bar appropriately. Hmm, just noticed this request is for upload, that may be trickier.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up