Using ADO`s Record Object with URLs - Looking at URLs on the Localhost
(Page 2 of 6 )
In this tutorial we will be looking at two of the URLs whose root folders are as shown in the next picture. The URLs for these are http://localhost/TestingService/ and http://localhost/ Factory/. As shown, there are files associated with these folders. For your examples make sure you have an IIS server and a couple of files and folders.

The folders, and files contained in the folders, are accessed using ADO calling upon the MSDAIPP provider discussed earlier. In general, folders and files have different attributes. The folder is a collection of other folder (non-leaf node) objects and may contain file (leaf node) objects. The Record object can look into hierarchies (folder/..../files) and can distinguish between files and folders through the attributes which are not necessarily similar. The next picture shows the properties of a folder and the one after that shows properties of a file. While some properties are common to both of them, some are not. If the property attributes are the same it is termed rectangular data.

The properties common to the folders and files are: Location, Size, Size on disk, and Attributes. While the Record object can look at the details of the folder as we shall see in this tutorial, the contents of a file need the other object, the Stream object. The Stream object will be described in a future tutorial.

Next: Creating a Reference to ADO 2.8 >>
More Microsoft Access Articles
More By Jayaram Krishnaswamy