Reading ProjectList text file(contains name of the projects) n display those lines into combobox
my above code ....it is reading only first line of text file
help......
Private Sub Form_Load()
Open "c:\ProjectList.txt" For Random As #1 Len = Len(ReadData(1))
For intLoopIndex = 1 To LOF(1) / Len(ReadData(1))
Get #1, , ReadData(intLoopIndex)
cmbRead.AddItem (ReadData(intLoopIndex).NameofProject)
Next intLoopIndex
Close #1
End Sub