VISUAL BASIC_6
 

12.  Database Projects


Aim of the Project:

The aim of this project is to create a database using the Visual Data Manager, use the DBGrid  ActiveX control and  display the contents of the selected table in the DBGrid box.

Creating a Database using Visual Data Manager:

We start from the opening window of Visual Basic-5.   Select Visual Data Manager from the Add-Ins menu.   A blank Visual Data Manager window appears on the screen as shown in the figure 1.  

Select New from the File Menu and then select Microsoft Access->version 2 MDB.   Select a folder to save the MDB file and type the database filename as payroll.mdb and click OK. The payroll.mdb window will appear on the screen as shown in the figure 2.


                             Figure 1


                                               Figure 2


 

Copyright © 2001 Selfonline-Education. All rights reserved.