Question pictureBox.imagelocation

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
setting the imagelocation of a picture box seems to only load the image from an Url when the picture box is in view? Is that correct? At least thats how it seem to me. is there a way to load it before its in view?
 
Check out the Load and LoadAsync methods. I recommend the latter when loading image from internet url.
 
Thanks that worked perfectly. I had to move it from the backgroundworker thread to the progress thread cause the picturebox load complete event was cross linking. But its working now
 
Back
Top