What is wrong with this code? All I want to do is display photos for a slide show, with about 5 seconds pause between photos. It will only show the last photo. The photo directory and file names are contained in the ComboBox.
(I thought I posted this wrong, so I did it again. This is my first post here. )
Private Sub cmdSlideShow_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSlideShow.Click
Dim x As Integer
For x = 0 To (.Items.Count) - 1
labFile.Text = .Items(x).ToString
PictureBox1.ImageLocation = .Items(x).ToString