Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connecting vb to oracle 8i db

Status
Not open for further replies.

rushtosri

Programmer
Feb 25, 2001
80
US
Hello

I'm new to Oracle and VB. I've just started learning these. Can anyone tell me how to connect Oracle db to vb?? Plz point me to some good resources on the net which gives me these details and other stuff related to this.

Thankx in advance..
With regards,
Shri
 
Under Project... References... Include Oracle InProc Server

Private Session As OraSession
Private Database As OraDatabase
Private Dynaset As OraDynaset

Private Sub OracleThingo()
Set Session = CreateObject("OracleInProcServer.XOraSession")
Set Database = Session.OpenDatabase(&quot;<DatabaseName>&quot;, <Username> & &quot;/&quot; & <Password>, 0&)
Set Dynaset = Database.CreateDynaset(&quot;Select * From Cars&quot;, 0&)
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top