gerz0ckerz
Goto Top

Progressbar füllt sich erst nach Abschluss des Downloads

Ich habe eine Progressbar und ein Label die beide erst nach dem Abschluss des Downloads gefüllt werden, wieso?

Dieser Code steht im ProgressChanged Event
lblProzent.Text = e.ProgressPercentage
pb.Value = e.ProgressPercentage

So lade ich eine Datei runter
client.DownloadFileAsync(URI, Pfad & "\" & URL(URL.Length - 1))  

Content-Key: 310626

Url: https://administrator.de/contentid/310626

Printed on: April 27, 2024 at 12:04 o'clock

Mitglied: 129813
Solution 129813 Jul 24, 2016 updated at 14:43:05 (UTC)
Goto Top
You're somewhere blocking your user thread...
See my complete example in your other thread.

Regards
Member: GERz0cKErZ
GERz0cKErZ Jul 24, 2016 at 14:59:59 (UTC)
Goto Top
i got it already, the problem was the page i downloaded a file
Mitglied: 129813
129813 Jul 24, 2016 at 15:04:11 (UTC)
Goto Top
No one knows if you don't mark it solved.