Publication of Application Updates – PB Docs 125
Publication of Application Updates When you update an application and publish the updates, the revision number is incremented automatically unless you clear the check box in the Publish Version group box on the Publish page. PowerBuilder creates a new directory on the server for the new version with a new application manifest file, and updates…
Application Bootstrapping – PB Docs 125
Application Bootstrapping To ensure that your application can be successfully installed and run, you must first make sure that all components on which it depends are already installed on the target computer. For example, most applications have a dependency on the .NET Framework. The correct version of the common language runtime must be present on…
Rolling Back – PB Docs 125
Rolling Back You can roll back a version on the server by replacing the current deployment manifest with the deployment manifest of the version to which you want to roll back. As shown in the figure in Publication of Application Updates, the deployment manifests for each version are saved in the application deployment folder. Suppose…
Unsupported Events for Controls in Windows Forms – PB Docs 125
Unsupported Events for Controls in Windows Forms If your application uses unsupported events for Windows Forms targets, you must rework the application before you deploy it. This table is an alphabetical listing of unsupported events, and indicates the controls on which they are not supported: Unsupported events for Windows Forms deployment Event Controls DoubleClicked DatePicker,…
Unsupported Functions for Controls in Windows Forms – PB Docs 125
Unsupported Functions for Controls in Windows Forms If your application uses unsupported functions for Windows Forms targets, you must rework the application before you deploy it. This table is an alphabetical listing of unsupported functions. It also lists the controls on which they are not supported, and any notes that apply to specific controls: Unsupported…
Bitwise Operator Support – PB Docs 125
Bitwise Operator Support Standard PowerBuilder applications allow the use of the logical operators AND, OR, and NOT to evaluate boolean expressions. In .NET applications and components, in addition to evaluating boolean expressions, you can use these same operators to perform bitwise evaluations. For the AND and OR operators, a bitwise evaluation compares the bits of…
Adding .NET Assemblies to the Target – PB Docs 125
Adding .NET Assemblies to the Target To call methods in .NET assemblies in your .NET application, you need to import the assemblies into the target. Right-click the target in the System Tree and select .NET Assemblies. To import a private .NET Assembly: Click Browse Browse to select a private assembly with the .dll, .tlb, .olb,…
Support for .NET language features – PB Docs 125
Support for .NET language features You can write conditional code for the .NET environment, taking advantage of features that are not available directly in the PowerBuilder Classic application environment. Support for sbyte and ulonglong � sbyte is the signed format of the byte datatype and ulonglong is the unsigned format of the longlong datatype. Bitwise…
Surrounding Code in a .NET Block – PB Docs 125
Surrounding Code in a .NET Block Because the main PowerBuilder compiler does not recognize the classes imported from .NET assemblies, you must surround the code referencing those classes in a conditional compilation block for a .NET application. For example, to reference the .NET message box Show function, you must surround the function call with preprocessor…
PowerScript Syntax for .NET Calls – PB Docs 125
PowerScript Syntax for .NET Calls When you make calls to .NET assemblies or their methods or properties from PowerBuilder, you must follow PowerScript syntax rules. The following syntax rules are especially important for C# developers to keep in mind: Instantiating a class To instantiate a class, use �create�, not �new�. Even when you are referencing…