Featured Questions

Saw this and thought it was perfect. Note the angry mob in the background on panel 4.   :) ...
Hi all, I'm using RPC to call MSSQL stored procedures. local externa function on transaction object  function long PORADI_DNE(datetime DATUM,ref int SEKVENCE) RPCFUNC ALIAS FOR "dbo.PORADI_DNE" If there is  raiserror ('Error from procedure',3,1)...
Hi,   I've DataWindow with EditMask fields. I know how to set numerical masks with # chars. But the '####' mask ignores multiple 0 chars on lead. I can trim 0 chars on lead ex. 000754 to 754. Is possible to set a mask to block entry 0 char before t...
When I open (navigate) to a PDF in runtime I get a menu with save icon its looks nice. During runtime no save icon and only download icon and it does nothing. Looks like a chrome download screen   What is is missing ? I dont receive any errors.   ...
Hi, I'm a developer from C#. In WinForms, I can disable/enable the rendering of the form (window). How can I do it in PowerBuilder? What is the best solution to freeze (disable rendering) all controls on view in PowerBuilder? Regards, Pawel  ...
Hello everyone i'm trying to understand how PostgreSQL is behaving against Powerbuilder 2022 R3, in particular the auto-increment columns. I've create a new postgres DB with a simple table called "test"; Reading the documentation i see that there ar...
Hi PB community... Is there any way to obtain the parent menu of a menu? If for example I have the reference of a leaf menu, can I "travel" from that menu to it's root? I know I can use the item[] property to get the child menu items, I suppose I ...
Could you recommend a product to perform DAST and SAST scans on PowerBuilder code?...
Hello all, We are running PB2022 V1878. I need a way to convert word docs, excel files, etc to pdf programmatically. We are currently using Win2PDF as a printer, but I can't seem to find a way to convert. We've just started using pdfdocument to pdf...
Hi all, I am trying the new version PB 2022 R3 (RT 3289). When using the themes, I've noticed that the response windows have enlarged right and bottom borders.When I switch to RT 2828 (R2), everything looks fine. When I turn off the themes, it's als...
I recently discover the MaxBox, MinBox and X in a Datawindow TitleBar but when I click in the X or the Maxbox or MinBox everything reacts at the datawindow level. I want to Minimize or Maximize or Close the Window. So I will like to find which event ...
According to the 2022 PB documentation GetUpdateStatus is obsolete and will be discontinued in a future release. Then how do I get the update status of a datawindow before updating it? Documentation of PB 2022 says to use DBError and SQLPreview eve...
Hi   Have the following problem in PB 2022. (PB 2022 R2 Build 2819) messagebox("384.22 - double('384,22')", 384.22 - double('384,22')) Result: 5,6843418860808E-14   With 384.23 it's ok: messagebox("384.23 - double('384,23')", 384.23 - double('...
Hi and happy new year, We use dw2xls (Desta) for exporting dws to Excel. There's a specific dw that failed to generate an xlsx that could be opened by Excel. (Ironically, LibreOffice has no problems with it). So after spending quite some time, I fi...
Hi, Automation tool Ranorex Spy is not able to find the xpath of text label element. Accessibility = 1 is there in pb.ini file. There is a screenshot attached highlighting the issue.  This issue was not there with PB 2022. The issue is now coming...
I am building a new logon window and need to add a length of text that wraps 3-4 lines. This would be easy in Visual Studio and supported by the textbox objects, but in PowerBuilder I do not see this option with the StaticText object. Is this expecte...
Hi, I have a question about the RibbonBar. Currently we have a small button that behaves like a dropdown menu. In order for the dropdown to appear, the user must click on the dropdown arrow next to the button. We have received feedback from customer...
Best regard I need to create the following result with JsonGenerator: "servicios": { "procedimientos": [ { "codPrestador": "500000000001", "fechalnicioAtencion": "2021-08-18 08:10" } ] } this is my code: ll_Subitem_Object = lnv_JsonGenerato...
Hi All, In our application we are using FindWindowA() function which is correctly working on PB2019. When I migrate it into PB2022, looks like this is not working. Do I need to change anything to work on PB2022 version?       We have not do...
Hello. Im applying a dark theme with ribbonbar But when i maximize any window , the theme dont work on second titlebar   How i change color of this? or how i can maximize without this titlebar?...
Hi. We use the Inet object to find out if the application has access to the Internet: inet ln_inetif getContextService("Internet", ln_inet ) = -1 then return -1 In PowerBuilder 2022r3, what do you recommend I use to replace this code? Thanks  ...


There are no discussions available here currently