Good day. This is the code in my function: int num, ret, ilong pidString ls_query, ls_nameAny process ls_query = 'select * from Win32_Process where name = "appname.exe"' locator = CREATE OleObject ret = locator.ConnectToNewObject("WbemScripting.SW...
I'm wondering whether anyone has done any enhancing of their PB applications to allow users to do scripting of the app's functions, and if so, what sort of technologies and techniques they used. Here's an example of a user request we got today. A us...
PB2019R3, build 2703I read through the previous post on this topic:   https://community.appeon.com/index.php/qna/q-a/dsn-less-connection-postgresql-solved This was the template solution listed:   Sqlca.DBMS =ODBC   Sqlca.DBParm="Driver={PostgreSQL OD...
Hello, I'm setting up Powerclient and have a couple of issues. How do I get the desktop shortcut to be created with my icon and application name?  It shows the name I use on the server but does it have some setting for a 'freindly' name?  If I try ...
Hello,   I am using a webbrowser control on a tabpage. I am using the navigate(..) function to load that URL. The page displays a PDF, has other controls for downloading the PDF etc. Those downloading controls do not work at all. I can click the...
Is there a way to dynamically change menu item event code? The Retrieve menu item has this code in clicked event, of_SendMessage ("pfc_retrieve") I'd like to change that code to reference another event of the DW.  There are other DW's on the scree...
I'm having to calculate the initial and end coordinates to draw a trend line (linear regression line). To do so, I put the values of my points in a graph in a datastore and one of the computed columns is X2.  The only problem I'm having, is that my...
Hi.When executing "mRet = mSes.mailLogon(mailNewSession!)" on a client, where no mail client is installed, this message appears:=>Screenshot 2021-06-10 153238.pngWhereas on a machine with a mail client installed, I am able to select a profile:=>...
Two questions.1) SDI I have a PBv12.1 exe complete with one DLL called INVOICING.There is only one window, of type MAIN.The goal was for this to be an SDI application, and maybe I did that  ???? but I can find no documentation on how to create an SDI...
Hi We successfully migrated our Powerbuilder 11.5 app source with SVN to Powerbuilder 2019 R3 source with Git. We now want to go a step further and automate the Powerbuilder exe and pbd compilation.  We want to use pbc to compile the app, but befo...
Hello, I am wondering how to rely on database context variables with PS 2021. We're using Oracle but the question applies to any DB. In a c/s PB app, there are DB variables whose value lives for the life of the connection. The PB app can fetch thes...
Is there any additional configuration in PowerBuilder to sign out from my account. I have multiple environments using PB, in the user account section there is a checkbox to enable/disable "Sign out on Exit". But I noticed the option is not working a...
Has anyone moved from Git using MSSCCI to native Git in PB 2019R3 and been able to maintain source control history? Given that native Git in PB (as of 2017R2) creates a sub-folder named "ws_objects" for the source controlled object files (*.sr?), is ...
We have a custom user object (visual) with a custom editmask control on it.Another window is creating this UO if the Enter Key is pressed.On initialization of the UO there is a editmask.POST SetFocus() called.in the editmask.keydown event i can read ...
Greetings,   My boss has requested that I extract all of the source code from a PowerBuilder application to a separate single file for him to review.  Does PowerBuilder have an option or a utility application to extract all the source code from a w...
Scenario:- In Windows client printer settings "Let Windows manage my default printer" is checked- Local printers are redirected to remote server- Our PowerBuilder application starts through RemoteApp Issue: At first print in a RemoteApp-session Prin...
We are migrating an application using Oracle from PB9 to PB 2019 R3 build 2703.  They have a test version of the application that users can launch directly from a network share via a batch file that is called from a shortcut.  I created a new folder ...
Hi Experts, In generally, to create a datawindow / datastore, I use SyntaxFromSQL function, but my current scenario is creating External DW dynamically. I have already tried with the following SQL, SyntaxFromSQL PowerScript function & DW Create Met...
Dear ,                We are created mobile application when user will login and attempt our first shop then we insert the time in database and mark there attendance. But user reach to market at 11 a.m and change there mobile time to 9.am and visit ...
In my project users need to be able to copy data from SingleLineEdit, MultiLineEdit and similar controls event when they are not supposed to edit that data. To achieve this functionality instead of disabling controls I set them to DisplayOnly and cha...


There are no discussions available here currently