Database Programming with Visual Basic

If there is one topic that’s too big to fit in a single chapter, it’s database programming. This chapter, therefore, is an introduction to the basic concepts of database programming with VISual Basic. It’s primarily for those who want to set up small databases and for those familiar with other database management systems, such as dBase. If you.are familiar with database programming in otherenvironments, the information in this chapter will help you get up to speed- quickly in database programming with Visual Basic.

The applications in this chapter use the sample databases BIBLIO and NWIND, which come with the Professional Edition of Visual Basic. The names of the databases are hard coded in many of the examples. In particular, the databases are expected to reside in the default folder that is created during installation. If you didn’t install Visual Basic to its default folder, you must change the name of the database to matches.locatlon on your system. You’ must change the Database- Name property of the Data control (if the application uses the Data control) or the path of the database in the OpenDatabase() method in the code (if the application opens the database directly). Because you can’t change these settings on the CD you must first copy the sample applications to a folder on your hard disk and then run or modify them .

Scroll to Top