This document provides code examples for connecting Visual Basic 6.0 to Microsoft Access 2003, Microsoft SQL Server 2008, and MySQL databases. For Microsoft Access, it shows how to establish an ADO connection and recordset. For SQL Server, it demonstrates opening a connection and recordset to query a database table. For MySQL, it includes code to define an ADO connection string, open the connection, build a SQL query string, and open a recordset to execute the query.