Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have picture box in my Windows application.
I want to set an image through an URL to picturebox

I have tried
pictureBox1.ImageLocation = "http://www.dotnetperls.com/favicon.ico";

But it is not working.
Please help.
Thanks in advance
Posted
Updated 16-Jul-14 18:24pm
v2

1 solution

try this.. :)

C#
pictureBox1.Load("http://www.dotnetperls.com/favicon.ico");


PictureBox.Load Method[^]
 
Share this answer
 
Comments
srmohanr 17-Jul-14 0:46am    
Thank you. it works
Nirav Prabtani 17-Jul-14 0:47am    
welcome.. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900