Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CDOSYS and showing progress
Message
De
15/04/2008 22:47:56
 
 
À
14/04/2008 12:07:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01309529
Message ID:
01310977
Vues:
36
>>> Can you confirm ctl32_progressbar marquee mode "keeps playing" while
>>> cdosys is doing its stuff?
>
>
>Carlos,
>
>Yes - plays beautifully!
>
>Have had a few issues trying to tie it into ctl32_FTP, it seems to jump up in chunks, get to about 90% then slow right down. However I have not managed to get a consistent result so it may just be the fluctuations in upload speeds.
>
>
>Regards Gary
>
>
>PS. let me know if you want any testing done - I am happy to help.

Gary:

Have you checked the sample ctl32_ftp form? Check that form to see how the download/upload process status is updated.

You should update the upload/download status to the user in the ftpTransfer event, you can also use ftpTransferStart and ftpTransferEnd to setup/end the user feedback.

Since there is no callback capability in VFP, the ftpWriteFile and ftpReadFile adjust the size of the download/upload buffer so the ftpTransfer event fires about once every second.

The buffer size is also adjusted so the program does not seem to be frozen while it is downloading/uploading a file chunk.

Of course I want testing done! Please report back in the ctl32 forum any issues you encounter. Also I will gladly answer any questions you have. The more valuable contributions to the classes came from user comments and doubts, so don't hold back and post as much as you want/need.

Carlos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform