VB6 FTP File Upload Progress Monitoring
Question:
I’ve been trying to get the progress bar in VB6 to work, based on the code on your website, but I’m having no luck. The event isn’t even being triggered.
Answer:
Here are some things to try:
- Test progress monitoring with a large enough file such that the progress does not go from 0 to 100% instantly.
- Use the VB6 IDE to generate the event callback method to make sure you have the naming correct.
- Set the SendBufferSize property to a smaller value, to get more frequent callbacks. See the reference documentation: http://www.chilkatsoft.com/refdoc/xChilkatFtp2Ref.html
- Make sure your event callback function updates the UI such that the changes are rendered immediately. For progress bar controls, setting the Value is all that is needed. For other controls, you may need to call Refresh.
admin
0
Tags :