ADO Recordset Objects
In scripting my FileDB component, I decided not to use the TextStream object, which made for a cumbersome process when working with database data. Instead, I chose to use an ActiveX Data Objects (ADO) Recordset object. For more information about ADO Recordset objects, see the resources below.

Database Scripting
"TechNet Webcast: Database Scripting for System Administrators" http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032243755

Using ADO
"Hey, Scripting Guy!" http://www.microsoft.com/technet/scriptcenter/resources/qanda/aug05/hey0819.mspx
"Much ADO About Text Files" http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnclinic/html/scripting03092004.asp