How to populate combo box with contents of text file? - C++ and .NET?

Riyadh

New member
I'm using Visual C++ 2008 Express. I have a comboBox that I want to populate with the contents of a text file. Basically, the text file will be called applst.txt and will be in the same directory as the actual application. When the form is loading, I want the application to read applst.txt and add each line of the text file as a new item for comboBox1. How can I do this?

(I'm a noob)
 
Back
Top