Load a Web Image Into a Windows.Forms.PictureBox (VB.NET)

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
Example: Start a windows forms project, add a picture box and put the following code into the form_load event:

LoadWebImageToPictureBox _ (PictureBox1, "http://www.freevbcode.com/logo1.jpg")

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: