Featured Questions

A recent post included some PowerScript code, and I thought I would pass along a tip for pasting code snippets that produces a slightly more readable result than simply pasting code into the website's text editor. The toolbar contains a button to as...
Saw this and thought it was perfect. Note the angry mob in the background on panel 4.   :) ...
Hi Everyone, Is it possible to have the SQL in all the applications DataWindows data source "checked" against the database using the database connection during a full build, or some other development process?  If so, how would I do it? I observe t...
I just wanted to share something I created. I have been using the venerable PBREGEXP from https://www.nika-soft.com/download/ for regular expression replacements etc., but yesterday I hit a bad bug in one use of it (I was trying to remove a large sec...
Hello, PB 2022 build 1892, NO PFC, using Kevin Ridley's Resize services 1.  Resizing of objects inside a window, works fine.  Even DW's inside tab's are resized.2.  Now placing a splitbar [ u_st_splitbar from PFC ] in between upper DW and below Tab...
I have legacy  PowerBuilder 12.5 on sybase 15 , converting application  to Oracle database, while creating or accessing data window getting error "Column 2 has an invalid name and/or length" how to get around this error. This application is very smal...
Hi Reading a XML File using PBDOM of PB2022 all works fine in IDE 32 or 64. But when I download and install via client deployment (64), I get the Message "Error calling method of a pbni object" just after reading the file. I checked the version of...
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 ...
Hi I'm investigating a new strange behavior of PB2022. I've never seen it in previous PB versions. It looks like computed.expression='0.7' is sometimes interpreted as '0'. It looks like the part after the dot is cut off. Regular columns are not aff...
I'm using PB2021 Build 1509. I wish to view PDF files in a window (does not necessarily need to be a datawindow). Can anyone provide me sample code for me to look at? I have had limited success using an ole object inserting "Adobe Acrobat Browser ...
Hello everybody, since PB2021 (and still in PB2022) customers irregularly report application crashes which we did not have before.In a recent case we were finally able to track this down to a very special behavior we see in PB2021 and PB2022. We wo...
Good day, I need help in deployment… Hope you can help me…   I am using the  Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL), when I deploy it using powerclient… the databse driver does not installed in the client side… I need to manually inst...
I want to produce an error in my PowerBuilder code that would create a Memory Dump File (.dmp). I tried dividing an int by 0, but I just get this error popup and no .dmp file.  In C++, diving by 0 creates a memory dump file so I am not sure why it do...
Hi all ,    I am running a c/s app on the client pc ( pb 2017r3  win10/11 ) .  The app connecting directly to a MSSql db located on a remote server over the Internet. I am using SNC SQL Native Client(OLE DB) / MSOLEDBSQL in my SQLCA.DBParm . My ...
Getapplication().getpowerserverurl( )   results in:   https://myappurl.cloudapp.azure.com:5009/myappapi add on the connect/token results in: https://myappurl.cloudapp.azure.com:5009/myappapi/connect/token   when deployed to a container app, thi...
In order to generate the updates for the web api, i build and deploy the PS project.  This moves all the updates to the server as well as updates the c# code. However, i still need to publish the new/updated web api in snap develop that was generate...
I have built a NUP 7 Datawindow SQL Server Select with a TOP 42 custom select statement to always return only 42 results. At first, I removed all of the columns on the freeform styled NUP and added 7 computed items each with a custom BITMAP call to ...
On startup of PS 2020 application, some users get browser message of "application closed successfully" this is edge or chrome.  was able to get it to run on firefox    occurs on HTTPS only, http is fine     i assume this is some sort of security...
how can i add multiple runtimepath in xml file? one for Appeon library and one for our own library....
Hello, I use datastore importString() method to import XML. The first line is usually xml version="1.0" encoding="utf-8" standalone="yes" but it happens that the double-quotes are replaced by single-quotes, giving xml version='1.0' encoding='utf-8'...
Hi With PowerBuilder 2019 r3, how can we clear the new webbrowser cache (while running an application) ? Regards Thierry...
Q: Why a column with Autosize Height = Yes is not returning the new height at runtime? Its a column for a lot of junk text. Problem: Always return me the height i set in design mode. A message returns wrong height with following expression Long(D...


There are no discussions available here currently