Picture box will not show picture

C

cj

How can I get the picture to show? They're .jpg files.

For Each File As System.io.FileInfo In FileInfo
Label1.Text = File.FullName
PictureBox1.Image.FromFile(File.FullName)
Application.DoEvents()
System.Threading.Thread.Sleep(2000)
Next
 
H

Herfried K. Wagner [MVP]

cj said:
How can I get the picture to show? They're .jpg files.

For Each File As System.io.FileInfo In FileInfo
Label1.Text = File.FullName
PictureBox1.Image.FromFile(File.FullName)


\\\
Me.PictureBox1.Image = Image.FromFile(File.FullName)
///
 

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

Top