Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

VB 2010 Image Viewer

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,256
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 2, 2010

CODE:
OpenFileDialog1.FileName = "Select a Image file" OpenFileDialog1.Filter = "All Type Of Image Files|*.*|Joint Photographic Experts Group [JPEG]|*.jpg|Bitmap [BMP|*.bmp|Tagged Image File Format [TIFF]|*.tiff|Portable Network Graphics [PNG]|*.png" If (OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK) Then PictureBox1.Image = System.Drawing.Image.FromFile(OpenFileDialog1.FileName) PictureBox1.SizeMode = PictureBoxSizeMode.Zoom End If

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 5 dislikes

Link to this comment:

Share to:
see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • @Joshua21136 How did u fix it?

  • it works :O

  • Never mind, I fixed it, thanks!

  • @Joshua21136 Excuse me, I mean to say that the erro said "End of statement expected"

  • It didn't work for me, I got this error saying: "Unexpected end of statement", can you help me with it?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more