Siebel VB Language Reference > About Siebel Visual Basic > About Siebel VB and Other Versions of Visual Basic Programming Languages >

Differences Between Siebel VB and Visual Basic


Siebel VB, Microsoft Visual Basic, and Visual Basic for Applications (VBA) use functions and statements that are similar to one another, but each of these languages possesses some unique capabilities.

User Interface and Control Objects

Siebel VB does not include any Visual Basic user interface control objects, such as a Button Control. A Visual Basic property such as BorderStyle is not an intrinsic part of Siebel VB. Siebel VB allows you to reference user interface controls in Siebel CRM and set and get their values. To manage a Siebel CRM user interface you can use Siebel Tools. To acquire keyboard input, you must not use the Input statement in Visual Basic.

Boolean Data Type

Siebel VB does not include a Boolean data type. It considers 0 to be FALSE and any other numeric value to be TRUE. You can only use a numeric value as a Boolean value. A comparison expression always returns 0 for FALSE and -1 (negative one) for TRUE. To simulate a Boolean data type, you can use the following values in an integer variable:

  • To represent TRUE. A value of 1 or any number that is not zero.
  • To represent FALSE. A value of 0.

If, from a script, you must call a field that is a DTYPE_BOOL type field, then you must declare it as a string.

Siebel VB Language Reference Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.