Zexor
Well-known member
- Joined
- Nov 28, 2008
- Messages
- 520
- Programming Experience
- 3-5
I am using a backgroundworker to populate an imagelist with images from the web. It is just a loop that feeds new name and url to the following line with Application.DoEvents() in between.
But when the backgroundworker is working, the controls are pretty unresponsive. Am i doing something wrong?
VB.NET:
ImageList1.Images.Add(Name, System.Drawing.Bitmap.FromStream(Net.HttpWebRequest.Create(URL).GetResponse.GetResponseStream))
But when the backgroundworker is working, the controls are pretty unresponsive. Am i doing something wrong?