Summary

This chapter introduced the Record and Stream objects, explaining how they can be used to access hierarchical data sources such as directory and file structures. The Record and Stream objects are primarily designed to work in conjunction with the OLE DB provider for Internet Publishing; however, each has their own methods and properties, which add functionality way beyond the scope of Internet Publishing. After reading this chapter, you should be able to open both Record and Stream objects and understand the following key points about each:

  • There are five ways in which a Record object can be opened.

  • The Record object can be used to navigate hierarchical data sources.

  • The Record object can be used to manipulate directories and files within a web server.

  • The OLE DB provider for Internet Publishing provides a standard set of Fields for the Record object, which contain additional information about the Record object’s represented resource.

  • The Stream object can be obtained four different ways.

  • The Stream object can be used to read and write text and binary data.

  • The Stream object can be used to persist and retrieve information to local files.

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.