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
@Joshua21136 How did u fix it?
srgjimmy100 2 weeks ago
it works :O
MrSpore15 2 months ago
Never mind, I fixed it, thanks!
Joshua21136 9 months ago
@Joshua21136 Excuse me, I mean to say that the erro said "End of statement expected"
Joshua21136 9 months ago
It didn't work for me, I got this error saying: "Unexpected end of statement", can you help me with it?
Joshua21136 9 months ago