>>It is a class you can use to create, modify or remove DSN entries programmatically, check the registry to see if a particular ODBC driver is actually installed, check the registry to see if a particular DSN has already been created, examples at the bottom on different ways to connect to Oracle, etc.
>
>Problem I guess is with my tns I get "TNS could not resolve service name:[12154] " This is strange because I can connect using my sqlplus+ just fine.
When you connect using SQL*Plus, you are askied for UserName, Password and Host String. It is this Host String that you need to be connecting with thru VFP. If using an ODBC DSN, this is the Server entry.
Mark McCasland
Midlothian, TX USA