Siebel VB Language Reference > About Siebel Visual Basic > 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 possess 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 part of Siebel VB. Siebel VB allows you to reference user interface controls in Siebel CRM and set and get their values. you can use Siebel Tools to manage a Siebel CRM user interface. You must not use the Input statement in Visual Basic as a way to get keyboard input.

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 write code that uses only a numeric value as a Boolean value. A comparison expression always returns 0 for FALSE and -1 (negative one) for TRUE. You can use the following values in an integer variable to simulate a Boolean data type:

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

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

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