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

Ausgedruckt am: 29.03.2024 um 07:03 Uhr

Mitglied: 129813
Lösung 129813 24.07.2016 aktualisiert um 16:43:05 Uhr
Goto Top
You're somewhere blocking your user thread...
See my complete example in your other thread.

Regards
Mitglied: GERz0cKErZ
GERz0cKErZ 24.07.2016 um 16:59:59 Uhr
Goto Top
i got it already, the problem was the page i downloaded a file
Mitglied: 129813
129813 24.07.2016 um 17:04:11 Uhr
Goto Top
No one knows if you don't mark it solved.