New topic: 

Connecting to Oracle Express?

<http://forums.realsoftware.com/viewtopic.php?t=29406>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       oleman108           Post subject: Connecting to Oracle 
Express?Posted: Wed Aug 05, 2009 10:36 am                               
Joined: Tue Sep 02, 2008 3:01 pm
Posts: 57
Location: Switzerland              I do not see how to connect from RB to 
Oracle on a Server.

I have installed the "Oracle Client 10g Express Edition" on Windows XP and the 
database Oracle 10g Express Edition on a Windows Server 2008. 

I can access Oracle via browser ("Application Express") from the Client Windows 
XP Computer, so the server is up and running.

But the example in the RB language reference leaves more questions than answers:

Code:Dim db as OracleDatabase

'open a database connection
db = New OracleDatabase
db.DatabaseName = "ALEXIS"
db.UserName = "scott"
db.Password = "tiger"
db.debug = 1 'look in the console

If Not db.connect() then
  MsgBox db.ErrorMessage
  Return
End if

How does my app find the server? OracleDatabase does not seem to know a 'host' 
property... so where do I define the IP address?

Does anyone know how exactly this has to be configured?   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to