Discussions tagged PowerScript IDE

I am running the PB 2025 Beta Build 3503. When I create a solution program, and it does a build (full/incremental) I get this error message: ---------- Build: Incremental build of project genapp2 (12:34:40 AM)1> -------- Abstract syntax tree gene...
When I build an application PowerBuilder creates an XML file which contain the run time path the program needs to run. How do I utilize this in setting up the execution environment?    Example of an XML File : <?xml version="1.0" encoding="utf-8...
I love the new code editor included in the new Beta! My only issue is, that I like to change the default colors of the editor to more of a 'dark mode' (it's a lot easier on the eyes). There was no issue with this in the past, but now that the text th...
Hi, I have need of a computed column in a datawindow that should result a number Or null. I understand that in Script I can use SetNull(SomeVariable) easily, but cannot find in Expression functions that can do the same. example: If( state_code ='NY...
Hello! Can someone tell me the meaning of this error message? And how to fix this? I get this everytime I want to add a local Project to Git ("Add to source control") Error:Failed to decompose PBL: C:\Client\client.pbl errorcode:301. Thanks!...
Hello, at the moment I'm a little bit confused:  If there is a typo at a field name of a SELECT statement I will get an error message. But I don't get an error message with an UPDATE or INSERT statement. Until now I was very sure that a message wou...
We're using 2022 R2 build 2819 with runtime set to 22.0.0.1892. It appears that the Paste Object menu is disabled when working in a window script. It is working when in a visual userobject script. I confirmed it is working in 2021 build 1509. Has an...
Hi! I'm using Powerbuilder 2022, Build 1878.  The RichTextEdit control (TX Text Control, 32bit) has a method "SelectText" where you can specify fromline, fromchar, toline and tochar. However, when a  multiple page document is opened in the control,...
Hi,I am opening a web page from within the Web browser control . The web page has text area with spell checking enabled. When opening the page locally I get Swedish spell checking (which I want) but from within the web browser control, I get English....
When opening the property of selected objects in a datawindow, powerbuilder 2021 crashes and then closes the main window. Is there any hotfix for this problem?...
Hello, We discovered we are having issues with one of our developer machines running 2019 R3 2703. Out of 5 machines tested so far. One is adding something like the following to one of our ole objects.: Start of PowerBuilder Binary Data Section : D...
Hi, Is there something in PowerScript equivalent to String.IsNullOrWhiteSpace in C# (String.IsNullOrWhiteSpace(String) Method (System) | Microsoft Docs). I think it would be nice to have something like that as at the moment I have to use multiple "...
Hi all,   To your information I have tested and actively use the following tools from https://www.topwizprogramming.com/   1. PBSearch (Super fast source & object search and optional replace in PBL files) Worked immediately on R3 2. Bootstra...
Hi Team, We do have a client requirement to add some functionality in the client application to the Open/Read profiler Trace file. Does anyone have an idea about How to open and read PBP file content programmatically through PowerBuilder? Thanks &...
Hello, could not find the place in the PB IDE where font size of function&event headers within Script editor could be increased. Using latest PB 2019 R2 2328.   ...
Hi All ORCA and ORCAScript both support a "3pass" option, which is "performs a full rebuild of the application. It should be used instead of full when there are complex inherited relationships."   But the IDE and PBC don't offer this option.  In o...
Hi   Currently a DEV can have multiple instances of the same release IDE open on their workstation But License server prevents running 2017 simultaneously with 2019 After we migrate our trunk code line to 2019 R2 all our Branch code will remain i...
Hello, I have a simple problem and we get this bug once/twice in a year but the impact of this bug is always huge. The problem is the following. When we create a new function in PowerBuilder, it automatically sets the return value as integer, which...
Let n_pbni denote a non-visual object exported by a PBNI-Extension and let n_derived denote a class that was inherited from n_pbni. Assume that n_derived's constructor and destructor are implemented and reference global variables that are part of the...
Hi! Our application crashes when CloseWithReturn is called in the window open() event handler. The error occurs when returning early from the Open() handler when incorrect parameters are passed. My code: ... integer retval = CloseWithReturn(this,...
  • Page :
  • 1