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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connectivity b/w Oracle and Visual Basic

Status
Not open for further replies.

javabeanx

Programmer
Apr 29, 2002
10
IN
This is a real newbies question please help me
All the necessary forms have been created in VB
All the tables created in Oracle(using SQL)
I'm trying to establish connectivity using ADO but whatever I do it says maybe not properly installed Please Please help me
The reasons could possibly be
I have both Oracle 7 and Oracle 8i
If this is the reason what should i uninstall
If not uninstall Is there any way to set the system so that only only one of them(7/8i) works properly

 
You may set ORACLE_HOME environment variable.
 
This is they way my connection works i ASP pages, hope it helps:


dim myconnection
dim rsnamelist
dim sqlstring
dim requestName
set myconnection = nothing
set myconnection = server.createobject("ADODB.connection")
myconnection.open "Provider=MSDAORA;Data Source=Live;" &_
"User ID=myid;Password=mypass;"


sqlstring = "select your select statement"

set rsnamelist = myconnection.execute(sqlstring)

then do a do loop and stuff your records into an html table


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top