Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Starting the Oracle In Process Server

See Also
Quick Tour
Employee Form

The Oracle In Process server (OIP) provides the interface between your Visual Basic application and the Oracle database. To start the Oracle in process server, you must create an OraSession object using Visual Basic's CreateObject() function as follows:

Set OraSession = CreateObject("OracleInProcServer.XOraSession")

When creating the OraSession Object, the argument you supply to the CreateObject() function must always be "OracleInProcServer.XOraSession" . The left hand side of the "." defines the application name as registered in your system, in this case "OracleInProcServer". The part after the "." identifies the type of object to create, in this case the XOraSession object. The net effect of executing this command is starting the Oracle in Process Server.