So, is there a possibility not to use at the way:
system.net.client(url, file_name)
dim b as new bitmap(file_name),
but to have some way to load it directly o a bitmap?
I tried to find some ways (using streams, etc), but none of it works with
bitmaps, only for text files
Göran Andersson - 16 Sep 2007 17:32 GMT
> So, is there a possibility not to use at the way:
>
[quoted text clipped - 5 lines]
> I tried to find some ways (using streams, etc), but none of it works with
> bitmaps, only for text files
The WebClient.DownloadData method will give you a byte array. Create a
memorystream from the array and load the image from it.

Signature
Göran Andersson
_____
http://www.guffa.com
Doker - 16 Sep 2007 18:22 GMT
new Bitmap(new WebClient().OpenRead("http://...."))
buu - 16 Sep 2007 20:10 GMT