Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel VB Language Reference > Methods Reference for Siebel VB > COM Methods > COM Object ClassThe COM Object class provides access to a COM object. It does not return a value. To create a new object, you use the Dim statement to dimension a variable, and then set the variable to the return value of CreateObject or GetObject. For example:
You can use one of the following formats to reference a method or property of the new object: objectvar.property FormatThe following table describes the arguments that you can use with this method. ExampleThe following example uses the BusComp object class to declare the variables that Siebel VB uses to access the Account Contacts view in a Siebel application: Sub Button1_Click ' BusObject returns the business object associated with a set oBC = me.BusObject.GetBusComp("Contact") i = oBC.FirstRecord ' returns 0 if fails, 1 if succeeds |
![]() ![]() |
Siebel VB Language Reference | Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |