populate combobox from text file

davesalt

New member
Joined
Apr 5, 2005
Messages
1
Programming Experience
Beginner
Help please! I've just started using vb and would like to be able to populate a combobox with a list of names read from a text file. E.g.:

I have a text file named "c:year1.txt" which contains:

name 1
name 2
name 3

What would be the simplest way to enable a button click to show the selection of names in a combobox1 ?

Thanks v. much in advance.
 
Top Bottom