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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top