NewDocument Syntax 1 – PB Docs 125
PBDOM_DOCUMENT: NewDocument Syntax 1 method Description Creates a new XML DOM document from scratch. Syntax
1 |
<span>pbdom_document_name</span>.NewDocument(<span>strRootElementName</span><span></span>) |
Argument Description pbdom_document_name The name of a PBDOM_DOCUMENT object strRootElementName The name of the root element to be contained in the DOM document Return Values Boolean. Returns true if a new document is successfully created and false otherwise. Throws…
GetSystemID – PB Docs 125
PBDOM_DOCTYPE: GetSystemID method Description Retrieves the system ID of an externally referenced DTD declared in the DOCTYPE. Syntax
1 |
<span>pbdom_doctype_name</span>.GetSystemID(<span></span>) |
Argument Description pbdom_doctype_name The name of a PBDOM_DOCTYPE object Return Values String. If no system ID is referenced, an empty string is returned. Examples See GetPublicID. See Also GetPublicID SetPublicID SetSystemID Document get from Powerbuilder help…
PBDOM_CHARACTERDATA – PB Docs 125
PBDOM_CHARACTERDATA Description The PBDOM_CHARACTERDATA class represents character-based content (not markup) within an XML document. It extends the PBDOM_OBJECT class with a set of methods specifically intended for manipulating character data in the DOM. The PBDOM_CHARACTERDATA class is the parent class of three other PBDOM classes: PBDOM_TEXT PBDOM_CDATA PBDOM_COMMENT The PBDOM_CHARACTERDATA class, like its parent class…
SetIntValue – PB Docs 125
PBDOM_ATTRIBUTE: SetIntValue method Description Sets the text value of a PBDOM_ATTRIBUTE object. The SetIntValue method creates this text value by serializing the provided int value into a string. Syntax
1 |
<span>pbdom_attribute_name.</span>SetIntValue(integer<span>intValue</span>) |
Argument Description pbdom_attribute_name The name of the PBDOM_ATTRIBUTE intValue An int value to be set for the PBDOM_ATTRIBUTE Return Values PBDOM_ATTRIBUTE. The PBDOM_ATTRIBUTE from which…
SetUintValue – PB Docs 125
PBDOM_ATTRIBUTE: SetUintValue method Description Sets the text value of a PBDOM_ATTRIBUTE object. The SetUintValue method creates this text value by serializing the provided uint value into a string. Syntax
1 |
<span>pbdom_attribute_name.</span>SetUintValue(unsignedinteger <span>uintValue</span>) |
Argument Description pbdom_attribute_name The name of the PBDOM_ATTRIBUTE uintValue A uint value to be set for the PBDOM_ATTRIBUTE Return Values PBDOM_ATTRIBUTE. The PBDOM_ATTRIBUTE from which…
Running the C++ application – PB Docs 125
Running the C++ application When you run the compiled executable file at the command prompt, if the PowerBuilder VM is loaded and the session is created successfully, the following output displays in the command window:
1 |
Loaded PBVM successfully<br>Created session successfully<br>The product of 123 and 45 is 5535 |
Document get from Powerbuilder help Thank you for watching.
GetColumnCount – PB Docs 125
IPB_ResultSetAccessor interface: GetColumnCount method Description Obtains the number of columns. Syntax
1 |
GetColumnCount ( ) |
Return Values Unsigned long. Examples This statement stores the number of columns in *numCols:
1 |
*numCols = d_rsAccessor->GetColumnCount(); |
See Also CreateResultSet GetRowCount Document get from Powerbuilder help Thank you for watching.
Step 4: Implement native classes – PB Docs 125
Step 4: Implement native classes You implement Invoke and Destroy methods and any class or global functions the same way for visual extensions as for nonvisual extensions. See “Step 4: Implement native classes and global functions”. Document get from Powerbuilder help Thank you for watching.
PB_DateTimeData structure – PB Docs 125
PB_DateTimeData structure Description The PB_DateTimeData structure is used to pass data of type DateTime in the SetData function in the IPB_RSItemData interface. Table 7-9: PB_DateTimeData members Field Description date A PB_DateData structure identifying the date time A PB_TimeData structure identifying the time See Also SetData Document get from Powerbuilder help Thank you for watching.
About exchanging data with PowerBuilder – PB Docs 125
About exchanging data with PowerBuilder You can use the IPB_Session interface or the IPB_Value and IPB_Arguments interfaces to exchange data between PowerBuilder and PBNI. The IPB_Session interface contains many virtual functions that enable the C++ code in an extension to interact with the PBVM. The IPB_Value and IPB_Arguments interfaces contain methods that you can use…