Enabling RDO Use in Visual Basic


Before you can actually begin using Remote Data Objects in your Visual Basic applications, you have to enable their usage in the Visual Basic development environment. You can do this by selecting Project|References. After the reference dialog box is open, scroll down until you find the Microsoft Remote Data Object 2.0 entry. Check the box to the left of this entry to include this reference in your project and then click OK, which is shown in Figure 23.10. You are now able to use RDOs in your Visual Basic application.

Figure 23.10

Enabling the use of Remote Data Objects for a Visual Basic project requires adding Remote Data Objects in the project references dialog.

To learn how to include the OLEISAPI2 type library in your Visual Basic project, or where to get the OLEISAPI2 interface for use with your Web server, see Chapter 20, “The OLEISAPI2 Interface and the Active Reference Object.”