FreelanceCoder
FreelanceCoder

Reputation: 606

How do I load an image from a url into a picturebox?

I am using windows form applications and am wondering how i can load this image http://legionrpg.archstudios.net/Images/226x192/Horde.png into my picturebox in my form.

Upvotes: 0

Views: 1045

Answers (2)

FreelanceCoder
FreelanceCoder

Reputation: 606

SOLUTION: Turns out there's actually a property for picturebox's where you can enter a URL and it will load the image in there. Look in the properties and mess around to find the attribute.

I don't code in C++ anymore so I don't remember what the property is called.

Upvotes: 0

Mahmoud Fayez
Mahmoud Fayez

Reputation: 3459

You need to learn how to send HTTP GET/POST request follow this article I skimmed through and it uses the right stuff.

http://www.codeproject.com/Articles/5256/Classes-for-Writing-HTTP-Clients-in-C

Upvotes: 1

Related Questions