Skip over navigation to the main content.

ADO .NET Programming in Visual Basic .NET, 2nd Edition

Downloads

As a convenience to readers, we are making available for download the code for all the projects in the book. The projects are organized according to the chapter in which they appear. For example, ADOBook01.zip contains the Chapter 1 project files.

FTP Site

You can also obtain the project files from the book's FTP site. You can access the FTP site via your browser (if it offers FTP support). Alternatively, you can log onto the site using a dedicated FTP client at the following coordinates:

Host: ftp.prenhall.com
User ID: anonymous
Password: [your email address]
Directory: /pub/ptr/system_administration_and_programming.w-062/howell/

N.B. If you are on a computer or a network protected by a firewall, you may experience difficulty accessing the FTP site.

Using the Projects

For Windows Forms projects, all you have to do is download the entire folder to the location of your choice, create a new blank solution in the IDE, and simply add the project to it.

Web projects are a little more complicated. Follow these instructions and you should have minimal problems

  1. Download the project into your wwwroot folder for IIS, wherever that is on your system. By default it is in c:\inetpub.
  2. You can then try to open the web project directly using "File|Open|Project From Web". In most cases this should work.
  3. If that does not work, then create a new Web Project and add each file from the location you downloaded to it one at a time. All paths in the projects are relative to the project root so it should not be a problem.

If you get any messages stating that "Source Code Control cannot be found" or something of the sort, you can just continue and remove the projects from source control. I went through and removed them all, but sometimes the messages pop up anyway. If you want to avoid these altogether, before opening the project, delete any files ending in .scc or .vsscc from the project root folder. You should remove all of the "read-only" file attributes as well if any are set. If you have Visual SourceSafe on you system it will then prompt you to add then project to it. If you do not have Visual SourceSafe you will not be prompted about source control.

Further Reading

Read Prentice Hall PTR to stay on the cutting edge of computer science and engineering.