|
| ||||||||||
| Tags: connect to oracle, database connectivity, oracle database, oracle using vb |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Connect to Oracle database using VB 6.0
I have created an Oracle database, and I'd like to be able to write a VB6 front-end for it. Does anyone know if you can use VB6 to connect to an Oracle db, and if so, do you know of any simple step-by-step examples that a newbie like myself could use to learn how to do it? Thanks... ![]() |
|
#2
| ||||
| ||||
| Re: Connect to Oracle database using VB 6.0
Try to use "Microsoft OLE DB Provider for Oracle" (in DataLink Properties), then "Next>>" command button, and in "Enter a server name" you should have something like "T101" (your Oracle server name) and User name and password, if needed. Just to connect your DataEnvironment to your Oracle DB. In code in VB 6, to connect to your Oracle DB, you should have a connection string something like: Code: strCn = "Driver={Microsoft ODBC for Oracle};" & _
"SERVER=T101;UID=MyID;PWD=MyPassWd"
Set Cn = New ADODB.Connection
Cn.ConnectionString = strCn
Cn.CursorLocation = adUseNone
Cn.Open |
|
#3
| ||||
| ||||
| Re: Connect to Oracle database using VB 6.0
For more information about the database connectivity, you just go through with this, http://www.johnsmiley.com/cis18/Smiley004.pdf Hope, this will help you. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Connect to Oracle database using VB 6.0" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Connect To Remote Oracle Database with Toad | Eashta^devata | Software Development | 2 | 30-08-2011 11:09 PM |
| Joins in oracle database | Adriana_andros | Software Development | 5 | 11-02-2010 07:53 PM |
| The synonyms in oracle database | Norse | Software Development | 4 | 02-02-2010 09:46 PM |
| Packages in oracle database | Garlands | Software Development | 3 | 30-01-2010 01:55 PM |
| Oracle Announces TimesTen In-Memory Database 11g and In-Memory Database Cache 11g | prakashseth | Web News & Trends | 1 | 30-07-2009 04:58 PM |