Populate a List Control From a Text File

Category:
Forms and Controls
Type:
Modules
Difficulty:
Beginning
Author:
Andy

Version Compatibility: Visual Basic 6

More information:
This function populates a list control (e.g., combo box, list box) with the contents of a text file. Refer to the comments for an explanation and example.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: