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.   :) ...
Hello, I just want to know if there is any special reason for GetJWTToken function if it's doing (almost) exactly the same as SendPostRequest. I see that GetJWTToken has extra return status:  "-5 -- Failed to get token" (and has SendPostRequest "-1...
The window is getting freeze which is having the MS-office(we are using O365 version) control attached on that window via OLE control. When we open that window, while initializing the WORD component, it is getting freeze for sometime.  And because of...
Hello, I'm using PowerBuilder 2019 R2 and trying to display a MS-Word document inside a DWO, more than 12 pages, without having to type all text using TEXT controls or COMPUTED FIELD controls within the DWO. I've tried to create a Pipeline definitio...
请问下手机端webapi怎样调用,有例子吗,谢谢...
Hi all, I'm trying to use the F9 key to trigger the pfc_operators event and open the Operators response window.  I created a user event on my dw named ue_keypress with arguments key (keycode) and keyflags (unsignedlong). Right now, the event just ha...
I have code to capture windows/controls to a bitmap. I am wondering if there is a way to capture the entire DataWindow, not just the part currently visible. It has been said since the early days that the DataWindow is displayed as a bitmap with edit...
Hello, With the Contemporary style, you can change the TextSize property of menu objects, but that does not apply to the main menu bar. According to the User's Guide, it has a fixed height. Does anyone know if there is a workaround or if it is going...
PowerBuilder 2019 Build 2170 We have a report that covers about a page and a half with the header/detail band. Nothing in the footer band. The summary band has three nested reports. The nested reports and the summary band are set to Autosize Height...
We are using Powerbuilder 19 r3 and building exe using powerbuilder compiler(PBC190).  Is there any way to embed icons in EXE so that we do not need to provide actual icon or image files along with pbd and exe? We can achieve it using powergen. Pow...
 Hi, We used to build Powerbuilder application via PowerGen tool. Our application uses icons/bitmaps and it gets embedded in the exe, as a result we do not need to explicitly place the image files in the folder containing the exe. When we switched ...
We have a PS app working fine with internal URLs, cloud servers, all over https, but as we want external access to the application we have created external URLs.  Access to external URLs is controlled by MS AppProxy.   We can access the URLs through...
Hello, It is said that a process running in 32 bit Windows can consume up to 2 GB of memory. In my experience, a PB application crashes when it is approaches 1 GB. For example, the following script fails with a runtime error "Not enough memory to ex...
请问下,在手机端 怎样可以取到一个网页的源码内容 , thank ...
My web developer put in a series of alerts to help us find a problem with a web page and they work fine in the Chrome browser but do not display when the page is opened in the new web control....
窗口我放了个 webbrowser 控件,用下面代码打不开,提示 返回是 0 ,没用,是不是不支持手机端?有什么方法可以在手机端 用自带控件打开网页?能提供下打开的代码吗?谢谢Integer li_rtnli_rtn = wb_1.Navigate("http://www.baidu.com") messagebox("",li_rtn)    ...
Hi all,I'm doing a very simple query window. I can put the dw in query mode, but when I retrieve, my query parameters are ignored and nothing is returned. Here's the code for the dw://Constructorthis.of_SetUpdateable( FALSE ) // First, enable the D...
Hello, It seems that pbc190.exe generates the XML file where the path to runtime libraries is specified. Is there a way to tell pbc not to do it? Best regards,Konstantin...
Hi all, I'm testing linkage service in PB2021 with latest PFC.  I inherited a new window from w_sheet and copied the code from the PFC example (w_linkageretrieval) and changed the dws and retrieval arguments.  Can't get it to work to save my life.  ...
Hi, we are trying to replace native MS web browser control with new web browser control in our application. we need to navigate to different web pages using HTTP POST methods.  Does this new Web Browser control provide an option to send data using ...
We are in the process of upgrading applications from Powerbuilder 10 and 12.5 to Powerbuilder 2019R3.   Currently all of our powerbuilder applications reside in the same folder on a server and staff have a shortcut pointing to that location.  This f...


There are no discussions available here currently