Link to home
Start Free TrialLog in
Avatar of SETP
SETP

asked on

Progress bar on My.Computer.Network.DownloadFile doesn't move

I am using My.Computer.Network.DownloadFile to download a file from an FTP server in a VB 2008 WinForm app. I have the ShowUI argument set to TRUE so that it shows a progress window. However, when I run the code, it show's the progress window but the progress bar doesn't increment. The file eventually downloads and the progress window dissapears, but at no point does the progress bar in this window increment at all. Any ideas why?
ASKER CERTIFIED SOLUTION
Avatar of Luis Pérez
Luis Pérez
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SETP
SETP

ASKER

Hi Roland. Thank you very much for your reply. I was hoping you were right, but after downloading the exact same file with CoreFTP, I realized the problem must be something else because in that program it does in fact show the progress. :/
Does the old trick of DoEvents Do anything to update the progress bar?