Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
See Also |
Quick Tour |
Employee Form |
Set OraDatabase = OraSession.OpenDatabase("Exampledb", "scott/tiger", 0&)
You create an OraDatabase object using the OraSession.OpenDatabase() method. You must specify the database name, the connect string, and a bit flag word representing the database mode. The default database mode applies when you specify 0&. When Visual Basic executes this line, you have a connection to the specified database.