Visual Basic ADO Sample

The ADO_VB directory contains an ADO sample application written in Visual Basic version 5.0 that accesses the Microsoft OLE DB Provider for AS/400 and VSAM. This sample illustrates using ADO to access data on a host.

In order to use this sample, the ConnectionString property will need to be changed to point to a host you can access and a data file to browse on the host.

This application allows you to open a connection through the OLE DB Provider, open a recordset, and browse the records on a host file. This sample is built with ActiveX® Data Objects version 1.5. Before building with Visual Basic sample, be sure to include the Microsoft ActiveX Data Objects 1.5 Library in your project. You can do this from inside the Visual Basic Integrated Development Environment by selecting References on the Project menu.

The sample application can be built with Microsoft Visual Basic version 5.0.