Zexor
Well-known member
- Joined
- Nov 28, 2008
- Messages
- 520
- Programming Experience
- 3-5
i am trying to load an image from the web to a picturebox. But the image seems to be forbidden if i just paste the url on the browser, but it show fine viewing from the webpage or if i click open image on new tab. Is there anyway to just load the image?
VB.NET:
PictureBox1.Image = System.Drawing.Bitmap.FromStream(Net.HttpWebRequest.Create(New Uri("URL")).GetResponse.GetResponseStream)