Connect via ADO. ODBC will work but ODBC is faster and better.
To connect to Oracle on Windows or a UNIX system, you have to have the client connect software installed from Oracle. i.e. If your able to go to the command prompt and type
[tt]tnsping DB_NAME.SERVER_NAME.World[/tt]
then you are connected and it's just a matter of conencting VB to the DB.
Craig, mailto:sander@cogeco.ca
Remember not to name the Lambs...
It only makes the chops harder to swallow
I'd suggest that you use Oracle's own native OLE DB provider with ADO: it's fast and powerful:
connectstring="Provider=OraOLEDB.Oracle.1;Password=password;User ID=username;Data Source=instancename;
PLSQLRSet=1;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.