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

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"

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

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

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...

Hi,

I am still getting the following error:
URI formats are not supported.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.