Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21237

VB6 and Oracle - Jump Start

$
0
0
Just need a boost......
Downloaded the free Oracle Express 11g express edition
How do I get started with VB6 to connect to an Oracle DB?
I have looked at samples, but don't understand how to connect to Oracle (well, not connect, but WHAT TO connect TO????
For example:
Code:

Set dbConn = New ADODB.Connection
With dbConn
    .Provider = "OraOLEDB.Oracle"
    .Properties("Data Source") = "ROWELLS"
    .Properties("User Id") = "wellsadmin"
    .Properties("Password") = "roweisgood"
    .Open
End With

(This is from a sample VB6 - Oracle program found on internet)
How is the data source identified (in this guy's case, where is "ROWELLS" located on his computer--I assume it is the name of a database he created)--I have NO idea how to initially CREATE a database in Oracle so I can connect to it.)
I understand the id and pwd, it's the datasource I need a jump start on. I know I could spend hours just trying to figure out how to create a set of tables in an oracle DB, but if I could just get a quick 'guide', I'd appreciate it.
So, BL:
How do I create a small Oracle DB with a small sample table in it? (I am on a Win7 computer; Oracle is installed on my C drive).

Viewing all articles
Browse latest Browse all 21237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>