displaying image in VB.net from the web

  • Thread starter Thread starter Guest
  • Start date Start date
Try using the WebRequest class in combination with the Bitmap( Stream )
constructor.

It'll be something like (disclaimer: I haven't tested this):

Dim req as New WebRequest = WebRequest.Create( "http://...." )
Dim Bitmap bmp as New Bitmap( req.GetResponse().GetResponseStream() )



--
Robert Levy
Program Manager
Mobile Devices Product Group
http://blogs.msdn.com/windowsmobile

This posting is provided "AS IS" with no warranties, and confers no
rights.
 
Back
Top