Possibly the best method (which will open both databases with the same code) is to create ODBC (DSN) connection and open it. Then use SQL commands with standart (database-neutral) syntax to get data from database or perform other manioulations.
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...