Siebel VB Language Reference > VB Language Overview > Object Handling in VB >

Creating an Object Variable to Access the Object

The Dim statement creates an object variable called oBC and assigns a picklist business component to it. The Set statement assigns the business component to the variable oBC using a Get method. If you are instantiating an application, use either GetObject or CreateObject. Use GetObject if the application is already open on the Windows desktop. Use CreateObject if the application is not open.

Siebel VB Language Reference