|
-
Jun 11th, 2012, 06:04 PM
#16
New Member
Re: Display image from internet in a Picturebox
Sorry to bring this post back from the dead but I just wanted to add,
in some cases you might get a 403 response from the server so you might want to add to the headers of your webclient object the user-agent like this:
objWebClient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705 ")
That way you save some trouble.
Sorry again for the zombie post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|