- Home
·
- Miscellaneous
·
- Simple way to populate a combo box by reading from a text file.
Simple way to populate a combo box by reading from a text file.
Simple way to populate a combo box by reading from a text file.
Rate Simple way to populate a combo box by reading from a text file.
(1(1 Vote))
Private Sub Form_Load()
Dim sline As String
nfile = FreeFile
Combo1.Clear
Open "c:\nagy\nagy.txt" For Input As #nfile
While Not EOF(1)
Line Input #nfile, sline
Combo1.AddItem sline
Wend
End Sub
Simple way to populate a combo box by reading from a text file. Comments
No comments yet — be the first to post one!
Post a Comment