drb2k2
04-21-2004, 03:40 PM
Hi all,
I have designed a simple app which changes pictures in a box depending on what is selected from a drop down box. I am storing the filename in a string array. However when I load the picture into the picture box, nothing happens. can anyone offer some advice.
Cheers
DRb2k2
Basically this translates to Me.PB_Box1.Image.FromFile("FileNAme")
Try
Me.PB_Box1.Image.FromFile(PicDetails(Me.LB_Step.SelectedIndex))
Catch excep As System.IO.FileNotFoundException
MessageBox.Show("File not found")
End Try
I have designed a simple app which changes pictures in a box depending on what is selected from a drop down box. I am storing the filename in a string array. However when I load the picture into the picture box, nothing happens. can anyone offer some advice.
Cheers
DRb2k2
Basically this translates to Me.PB_Box1.Image.FromFile("FileNAme")
Try
Me.PB_Box1.Image.FromFile(PicDetails(Me.LB_Step.SelectedIndex))
Catch excep As System.IO.FileNotFoundException
MessageBox.Show("File not found")
End Try