Bővebb ismertető
Introduction
Welcome to the second edition of Database Access in Visual Basic. This book contains coverage of all the database access technologies available to the Visual Basic developer out of the box, as well as some that aren't available. My goal for this book is to emphasize the important aspects of database access the plumbing.
It's clear that in Visual Basic 6, the bulk of new features revolve around database access. You now get ActiveX Data Objects out of the box, instead of as an awkward after-the-fact download. In addition, you get a number of enhancements to the development environment, such as the Data View window and the Data Environment designer, to make connecting to and working with databases easier than ever.
If you're not quite ready to move up to Visual Basic 6, no problem. Easily 95% of the topics in this book work equally well with Visual Basic 5 and 6. The fact that the database library doesn't care which version—or language—of your development environment you use, is a testament to the interoperability standards upon which ADO and other database technologies are built.
Installing the Example Files
The code files for use with this book are contained in a Setup application. This application is on the CD-ROM that accompanies this book. To install the files on your computer, launch the file Setup.exe by double-clicking it in W^indows Explorer. Note that this setup application doesn't install any libraries, change your system configuration, or overwrite any files. It simply installs the code examples used in the book, as well as the large example database used in the examples.
The Setup application installs the files on any drive and directory you want; however, if you choose the default directory (c: \vbdb), your file locations will always be in synch with the examples in the book. If you do something to alter or delete the files, you can always re-install them by running the Setup application again.