\r\n\r\n
Network Topics include: sockets, protocols and the web

Go Back  Xtreme .NET Talk > .NET > Network > Picturebox question


\r\n \r\n \r\n \r\n
 
 
Thread Tools Display Modes
\r\n \r\n
\r\n
\r\n \r\n How can I populate a Picturebox control with an image from a known location on the internet with VB .NET?
\r\n
\r\nFor example, if I click a button and wanted to populate the Picturebox control with the Extreme .NET Forums logo from the top of this page, I would want the code to go out and load the image that can be found at http://www.dotnetforums.net/images/logo.gif
\r\n
\r\nCan someone show me a blurb of code that would do this?
\r\n
\r\nThanks,
\r\n
\r\nHimey\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n Reply With Quote\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n'; pd[353006] = '\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n
\r\n
\r\n  \r\n #2  \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Old\r\n \r\n 01-28-2003, 11:48 AM\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
divil\'s Avatar\r\n\r\n
\r\n \r\n divil\r\n divil is offline\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n Excellent advice. Works perfectly. Thank you very much.
\r\n
\r\nI figured it had to do with streams, but I hadn\'t checked the memory stream.\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n Reply With Quote\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n'; pd[353011] = '\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n
\r\n
\r\n  \r\n #4  \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Old\r\n \r\n 01-28-2003, 12:18 PM\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
Nerseus\'s Avatar\r\n\r\n
\r\n \r\n Nerseus\r\n Nerseus is offline\r\n\r\n\r\n
Prev Previous Post   Next Post Next
  #1  
Old 01-28-2003, 11:12 AM
himey himey is offline
Newcomer
 
Join Date: Jan 2003
Posts: 2
himey is on a distinguished road
Question Picturebox question

How can I populate a Picturebox control with an image from a known location on the internet with VB .NET?

For example, if I click a button and wanted to populate the Picturebox control with the Extreme .NET Forums logo from the top of this page, I would want the code to go out and load the image that can be found at http://www.dotnetforums.net/images/logo.gif

Can someone show me a blurb of code that would do this?

Thanks,

Himey
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying a stretched image from a PictureBox to another picturebox qmp Graphics and Multimedia 1 07-05-2005 07:04 PM
Picturebox copaz Windows Forms 3 09-24-2003 04:22 PM
n00b picturebox question Laeys Windows Forms 11 06-10-2003 10:58 PM
quick pictureBox question msellery Graphics and Multimedia 8 04-01-2003 04:07 AM

Advertisement:

Powered by liquidweb