Loading an image from a webserver into a PictureBox or Image 
Author Message
 Loading an image from a webserver into a PictureBox or Image
Hi All,

I am having the following problem. I would like to load in my
application an image into a (preferable) Image control or PictureBox.

Loading it from a local drive is simple with the LoadPicture() method.
But in my situation all the images will stored on a webserver and must
be accessed via http:

LoadPicture() will not allow this, it gives an error when using
Image1.Picture = LoadPicture("http://..")

Can anyone help me solve this problem?

Regards,

Mark van Setten.



Sun, 16 Feb 2003 03:00:00 GMT  
 Loading an image from a webserver into a PictureBox or Image


You might want to try using the Internet Transfer Control (OpenURL)
and retrieve the image file to a temp directory, then display it with
load file.

Quote:
>Hi All,

>I am having the following problem. I would like to load in my
>application an image into a (preferable) Image control or PictureBox.

>Loading it from a local drive is simple with the LoadPicture() method.
>But in my situation all the images will stored on a webserver and must
>be accessed via http:

>LoadPicture() will not allow this, it gives an error when using
>Image1.Picture = LoadPicture("http://..")

>Can anyone help me solve this problem?

>Regards,

>Mark van Setten.



Tue, 18 Feb 2003 02:10:17 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. load a Jpeg image into a picturebox or image control

2. Loaded image in Image or PictureBox control

3. Error loading GIF or JPG image in PictureBox or Image controls

4. Help!! Loading PictureBox FromStream and PictureBox.Image.Save

5. Question on PictureBox.Image = Image.FromFile(aFile)

6. Display Image in picturebox from db image field without temp file

7. Color Count of image in an image (or picturebox) control

8. Loading an Image to a PictureBox Object

9. Picturebox load image problem

10. Save An Appended Image file loaded in the PictureBox

11. loading image or picturebox control from access 3.0 db w/ DAO

12. Save An Appended Image file loaded in the PictureBox

 

 
Powered by phpBB® Forum Software