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.   :) ...
Is it possible to add more program shortcuts using the PowerClient Project? I would like to add a custom shortcut to both Desktop and Start Menu, in addition to the main application shortcut. Using these settings, it will add a default program shor...
Hi, I have a powerbuilder executable that closes unexpectedly on the instruction: dw_1.dataObject = ls_dataobject where ls_dataObject is not null and de dw_1 is valid. This happens on some computers not all with the same executable.Any idea?Thank y...
Hi everyone. Hope someone could help me with this issue: In AEM, I have configured a connection (Data Source) to an IBM DB2 database via ODBC and the connection test is successful. When I assign this Data Source to a transaction in my application, ...
Hi I have a desktop application developed in PB2017 R3. It is connecting to the MS SQL database thru ODBC with connection string as below: SQLCA.DBMS = "ODBC" SQLCA.AutoCommit = TrueSQLCA.DBParm = "ConnectString='DSN=dsn_name;UID=xyz;PWD=abc',Commi...
Hello, I am using Version 2019 R3 Build 2703. My issue is blank pages between composite report pages.  I already added dw_xxx.Object.DataWindow.Export.PDF.NativePDF.UsePrintSpec = 'Yes'.  This has fixed it for some reports but not all of them.  I r...
Hi, Is there a workaround to import .net dll to the PowerBuilder application with PowerBuilder 2017 RC3 version? The 2017 RC3 version doesn't have the .net dll importer tool.   Thanks,...
Good afternoon, I am using the rich text control in version 28. When I load a docx and insert bookmarks with the "inputfieldinsert" function it works fine until I save the document and reopen it, at which point the bookmarks are lost. With version 1...
We have a client that made a simple change to a datawindow. They changed a column in the select from CAST(col1 AS CHAR(10)) to TO_CHAR(col1). They then used the C# Conversion tool in SnapDevelop 2021 to import this change into the API which was succe...
Hi,  As far as I can see from the documentation, it is not supported to use .Net interfaces. Calling a .Net assembly seems straightforward, but is it possible to call a .Net Assembly which has an interface in the constructor? Example of class nam...
Hi all, Error: #31890. Since for like a week or so, I cannot read any email notifications from this community on my android mobile office 365, nor on my Ipad. I see the email listed in the inbox, but when trying to see the contents, nothing is load...
I want to get column data from a DataWindow into a string array. This can be done with dot notation: String ls_array[] ls_array = dw_1.Object.emp_name.Current   The problem is that I need to do it generically. Is there a way to do this with the c...
Hi,when I change the runtime in PB 2021 IDE to a runtime from PB 2019 R3, the IDE is not using the standard pb.ini.PB 2021 IDE with runtime 21.0.0.1311     pb.ini: C:\Users\*****\AppData\Local\Appeon\PowerBuilder 21.0\pb.ini    If the Initialization ...
We converted an application from version 8 to Powerbuilder 2021 and the following code is not functioning properly.. The code actually works fine when I run it locally using the PowerBuilder 20221 IDE, but when I build the .exe it is giving us a -3 ...
I'm running PB 2019 R3 Build 2703.  I'm using RESTClient object to call SendGetRequest().  If the URL I'm passing exceeds 1325 characters in length, then  SendGetRequest() returns -2.  This equates to Invalid URL.  I've tested the URL outside of PB w...
I have an application that was upgraded successfully to PB 2019. Our application ran well with the PB 2019 run time files on users' computers.  We upgraded to PB 2021 build 1311 successfully. I deployed 12 applications successfully and tested the exe...
Hi,   I am using PBNI SMTP control from Roland Smith - Topwiz. I have problem sending email through Office365 SMTP server. Could someone tell which are correct parameters for Connection type and Authentication type? I would like to authenticate w...
I am super new to powerbuilder and I'm seeing "Run an RHMB on it" in some of the solutions to an error like the one below:   Referenced object object is out of date, must be converted....
Hi We have deployed a Cloud App and running PowerServer 2021. We don't seem to be able to save a DW that contains nested DWs to PDF using the SaveAs function. It doesn't error and there is no file created. We used to be able to do this in Appeon Se...
I am working on using EPPlus C# assembly for Excel from PowerBuilder. I am doing it with PB 2021 for now until we move to PB 2019-R3. Then I can move the code into the main application. I wrote a wrapper assembly in C# to make it easier to work with...
Not too long ago Appeon has updated the documentation / help to now state correctly that the Handle() function returns a Longptr value. I see a lot of use of the function in the PFCs. We use Ulong for window handles (while the type of a handles and ...


There are no discussions available here currently