by Kerry M. Alfred (1 Submission)
Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)
This code will allow you to populate a listbox control using an ADO recordset. I am using the standard VB ListBox Intrinsic control. Everything is done through code.
Assumes
The database for this example was created with MS Access 2000 and must reside in the same directory as the program.
Code Returns
The code returns a recordset which will populate a standard VB ListBox ActiveX control.
Upload