Page 234 - Open Soource Technologies 304.indd
P. 234
Event Driven Programming
• The ODBC Microsoft Access Setup dialog box will appear. For Data Source Name, type
Biblio. If desired, we can type an entry for Description, but this is not required.
Figure 10.9: MS Access Setup.
• Click the Select button. The Select Database dialog box appears. On a default installation
of VB6 or Visual Studio 6, the BIBLIO.MDB sample database should reside in the folder
C:\Program Files\Microsoft Visual Studio\VB98. Navigate to that folder, select BIBLIO.MDB
from the file list, and click OK.
Figure 10.10: Data Base Selection.
If VB was installed in a different location on system, navigate to the appro-
priate folder. If we do not have the BIBLIO.MDB sample database file on
system at all, we can download it here. In that case, copy the file to the folder
of choice, and navigate to that folder to select the database for this step.
• When we are returned to the ODBC Microsoft Access Setup screen, the database we selected
should be reflected as shown below. Click OK to dismiss this screen.
228 LOVELY PROFESSIONAL UNIVERSITY