Using the FTP Site

Team-Fly team-fly    

 
ADO.NET Programming in Visual Basic .NET
By Steve Holzner, Bob  Howell

Table of Contents
Introduction


This is an explanation of the structure of the book's FTP site and how to download and access the projects. The projects are all in their completed state. There are no intermediate "under construction" steps for the code.

The projects are all in directories named for the chapter they belong to, e.g, ADOBook01 contains the projects for Chapter 1, and so forth.

Within the chapter directories are folders for each project named with the chapter and a project number. For example ADOBook01-01 is for the first project in Chapter 1.

Downloading and Using Projects

In order to access the FTP site you will need an FTP Client. There is a command-line version that comes with Windows, but the easiest way is to just use your Web browser. Open Internet Explorer, for example, and type http://www.phptr.com/howell into the address bar. From there you can simply drag and drop directories to your machine using Windows Explorer.

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 "FileOpenProject 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 some-times 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.


Team-Fly team-fly    
Top


ADO. NET Programming in Visual Basic. NET
ADO.NET Programming in Visual Basic .NET (2nd Edition)
ISBN: 0131018817
EAN: 2147483647
Year: 2005
Pages: 123

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net