by Nagy (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 6th April 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Simple way to populate a combo box by reading from a text file.
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
No comments have been posted about Simple way to populate a combo box by reading from a text file.. Why not be the first to post a comment about Simple way to populate a combo box by reading from a text file..