Hi I am trying to fill a combobox with the files from a FileListBox the code i am using is
Private Sub Form_Load()
File1.Path "C:\Images"
File1.Refresh
If File1.ListCount > 0 Then
For i = File1.ListCount To -1
Combo1.AddItem File1.List(i)
Next
End If
End Sub
The FileListBox fills with the file from the folder that i want but the Combo Box doesn't come somebody give me some help with this please I think that the problem is with this line For i = File1.ListCount To -1
Alan