Discussions tagged PowerScript IDE
PB 2025 Beta Build 3503/ Solution Not Working
- New
- Issue
- Last updated 1 day ago
- Arthur Hefti replied 1 day ago
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...
PowerBuilder creates an XML file which contain the run time path
- How-to
- Last updated 2 weeks ago
- Miguel Leeuwe replied 2 weeks ago
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...
Issue with editor text highlighting when custom coloring is used
- Misc
- Last updated 2 months ago
- Ken Guo @Appeon replied 2 months ago
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...
Datawindow computed column as Null
- How-to
- Last updated 4 months ago
- René Ullrich replied 4 months ago
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...
Errorcode:301: Failed to decompose PBL
- Issue
- Last updated 5 months ago
- Andreas Mykonios replied 4 months ago
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!...
No database warning (Update, Insert) during save of program code
- How-to
- Last updated 8 months ago
- Arnd Schmidt replied 8 months ago
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,...
How to set language in web browser control?
- Issue
- Last updated 2 years ago
- Niclas Graufelds replied 2 years ago
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...
String IsNull Or White Space
- Resolved
- Misc
- Last updated 3 years ago
- René Ullrich replied 3 years ago
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 "...
3-party tools that I have tested that works with R3
- Misc
- Last updated 4 years ago
- Ramón San Félix Ramón replied 4 years ago
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...
Need Help on How to read Profiling Trace File Programmatically.
- How-to
- Last updated 4 years ago
- René Ullrich replied 4 years ago
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 &...
How to increase font size of function/event headers within Script Painter?
- How-to
- Last updated 4 years ago
- Chris Pollach @Appeon replied 4 years ago
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...
Multiple simultaneous Appeon Release IDEs ?
- Resolved
- How-to
- Last updated 4 years ago
- yakov werde replied 4 years ago
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...
How to detect possible Integer overflow
- Advice
- Last updated 4 years ago
- David Peace replied 4 years ago
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...
User Object Painter failing on object inherited from PBNI extension
- Misc
- Last updated 4 years ago
- Chris Heale replied 4 years ago
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...
CloseWithReturn fails in Open event
- Resolved
- Issue
- Last updated 5 years ago
- Haakon Langballe replied 5 years ago
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