0

Hi,

I am loading images from the internet.
I am using
PictureBox1.imageLocation() but it takes a while to load the image.

Is there a way i can load the images faster? it shows an error icon before it displays a picture...how can i get rid of that?

Please help

3
Contributors
6
Replies
7
Views
7 Years
Discussion Span
Last Post by sweetypie123
0

Hi,

Thanks for replying.
I tried this:

PictureBox1.Image.FromFile((dt.Rows(0)("Picture")))

and I am getting the following error:
Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated. (and it suggests me to replace picturebox1.image to image.fromfile()


I tried using image.fromfile()
it says "URI formats are not supported"

0

I presume that the picture column represent path of an image.

PictureBox1.Image=Image.FromFile(dt.Rows(0)("Picture").ToString())
0

Hi,

I am loading images from the internet.
I am using
PictureBox1.imageLocation() but it takes a while to load the image.

Is there a way i can load the images faster? it shows an error icon before it displays a picture...how can i get rid of that?

Please help

please set the file path where you want to save...

0

I did set the file path. I was wondering if there is a way to load the images faster.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.