Powerbuilder Documentation 2019

Powerbuilder Documentation 2019

Activating PowerBuilder – PB Docs 2019

Activating PowerBuilder Contents Online activation Offline activation Starting from PowerBuilder 2017, developers are required to log in and activate PowerBuilder IDE first before using it. If you do not have a valid account to log in, please contact your license administrator to create an account for you. Depending on whether the machine where PowerBuilder IDE…

LoadWithDotNetFramework – PB Docs 2019

LoadWithDotNetFramework PowerScript function Description Loads a .NET framework assembly. Applies to DotNetAssembly objects Syntax

Argument Description objectname The name of the DotNetAssembly object. assemblypath The name and location of the .NET assembly (*.dll). The location can be an absolute path or a relative path. When a relative path is executed in the development environment,…

Match – PB Docs 2019

Match PowerScript function Description Determines whether a string’s value contains a particular pattern of characters. Syntax

Argument Description string The string in which you want to look for a pattern of characters textpattern A string whose value is the text pattern Return value Boolean. Returns true if string matches textpattern and false if it…

Managing information in the Windows registry – PB Docs 2019

Managing information in the Windows registry Functions for accessing the Registry PowerBuilder provides several functions you can use to manage application settings in the Windows registry. Function Description RegistryDelete Deletes a key or a value in a key in the Windows registry. RegistryGet Gets a value from the Windows registry. RegistryKeys Obtains a list of…

MD5 – PB Docs 2019

MD5 PowerScript function Description Calculates the MD5 value of a blob. Applies to CrypterObject object Syntax

Argument Description crypter The name of the CrypterObject object variable A blob whose value is the data you want to process with MD5. When using the system blob function to convert a string to a blob, it is…

Keeping track of tab pages – PB Docs 2019

Keeping track of tab pages To refer to the controls on a tab page, you need the user object reference, not just the index of the tab page. You can use the tab page’s Control property array to get references to all your tab pages. Control property for tab pages The Control property of the…

Language Basics – PB Docs 2019

Language Basics Contents Comments Identifier names Labels Special ASCII characters NULL values Reserved words Pronouns Statement continuation Statement separation White space Conditional compilation About this chapter This chapter describes general elements and conventions of PowerScript. Document get from Powerbuilder help Thank you for watching.

LenA – PB Docs 2019

LenA PowerScript function Description When the argument is a string, temporarily converts the string from Unicode to DBCS based on the current locale, then calculates its length in bytes. When the argument is a blob, no conversion takes place. Syntax

Argument Description stringorblob The string or blob for which you want the length in…

Linking versus embedding – PB Docs 2019

Linking versus embedding An OLE object can be linked or embedded in your application. The method you choose depends on how you want to maintain the data. Embedding data The data for an embedded object is stored in your application. During development, it is stored in your application’s PBL. When you build your application, it…

InsertPicture – PB Docs 2019

InsertPicture PowerScript function Description Inserts an image at the insertion point in a RichTextEdit control. Applies to RichTextEdit controls Syntax

Argument Description rtename The name of the RichTextEdit control in which you want to insert an image filename A string whose value is the name of the file that contains the image format An…