Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Programming > Getting Started with the Siebel Object Interfaces > Instantiating the Siebel COM Data ControlTo use Siebel Interface methods with the Siebel COM Data Control, use the object browser of your Siebel COM Data Control programming tool to determine the correct method syntax. To set up Microsoft Visual Basic to access the Siebel COM Data Control Interface
To instantiate and use the Siebel COM Data Control, you must use the CreateObject and Login methods. You cannot use methods that retrieve active Siebel objects, because there are no current active Siebel objects. You must instantiate your own Siebel objects. Calls made to the Siebel COM Data Control are also in-process. The following is sample code for the Siebel COM Data Control. Sub CreateDataControl() See Table 21 for values to substitute for the placeholders in the login string. The following sample code instantiates the COM Data Control from a server-side ASP script. NOTE: The symbols Dim SiebelApplication, BO, BC, ConnStr, logstat Set SiebelApplication = CreateObject("SiebelDataControl.SiebelDataControl.1") ' Test to see if object is created response.write("Login Status: " & logstat) For more information on instantiating the Siebel COM Data Control, read Connect String. |
Siebel Object Interfaces Reference |