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 Team, Need help on scrolling user object based on row selection. In a window, I have a datawindow on the left side. On the right side, I have a user object(container for user object) inherited from u_base. I have opened several user objects one ...

SMTPCLIENT

We are using Powerbuilder 2022 R3  windows 10  on sqlserver. I am looking into implementing SMTPCLIENT,  Most of the examples make sense but there is no example of how to add a reply to email address to the message.  Can this be done? Example?    ...
Hi, We have embedded the webview2 controller in a PB2022R3 application to show an angular website. We'd like to implement drag&drop from powerbuilder to webview2. The idea is to show the dragging in the website and ondrop fires an event in pb ...
Hi all   I am using HttpClient object to a WS . One of the WS needs Authorization with the UseIntegratedWindowsAuthentication I wrote that : lnv_HttpClient.SetRequestHeader("Authorization", 'Basic ' + CurentUserName + currentUserPassword) The ws...
We are switching from SOAP to REST and I am asking myself which implementation/class is the best: HttpClient or RestClient? Which one should i choose and why? I started with RestClient but run into difficulties loading a file (octet-stream) into Pow...
Using the webbrowser control is there a way to load a url then prevent the user from navigating to any links other than ones in a list of approved urls ? Which events should I be looking at to code I looked at scripting in 'addresschange' and 'navi...
Hello, We are currently using third party solutions to use some of our PowerBuilder apps as a service in Windows. However, we are in the middle of a Windows Server 2012 to Windows Server 2022 migration and we struggle to get one them running ok. T...
Hello,I have 2 monitors and for example, pressing a button on the response window should resize this window to the width and height of the extended desktop of the 2 monitors. Does anyone have the code to perform this functionality? Thanks...
Hello, We are in the process of migrating our PFC based PowerBuilder 2021 application to PowerBuilder 2022 R3. We have successfully migrated the entire application and have removed (commented out) objects that are now Obsolete (we have one window th...
Comming from PB 2019 R3 Build 2797 just transfered to build 2803Sybase central DB 17   After deploying the applicatieon we got a whole bunch of errors that we dont understand. Anyone know what the problem might be  ...
Hi Team, I created the PowerServer project and I deployed the Project in IIS Server(Local). We ran the application url and it's working fine.Now we tried to implement the Azure AD B2C in the PowerServer Project. For this case, we added the Authoriza...
Hi, any example to work a window with header datawindow and detail datawindow in STD Framerowk?...

PBNI Question

Has anyone accessed datastore objects from C++ using PBNI? The help has small snippets for each function but nothing that explains the entire process....
I am trying to publish from Snapdevelop in a docker container To clarify the query and not make it extensive writing ; I am sending a word file with images and the respective queries.THAN YOU ...-...
We're having an issue with a couple users running our application on a 2022 Remote Desktop Session Host where we have a datawindow for reports that gets determined at runtime, but when the report is displayed, the datawindow does not expand to fill t...
I am working on customizing a menu.  One of  the menu choices is called Favorites, and you can have up to 9 favorite items in this submenu.  I have a function that will rename the 9 items and make them visible (if you only have 6 then only 6 are visi...
Hi all PB2023r3 Windows 10  I am sure this is an easy one - but i cant find it ! When i add or edit a window function - the screen does not show the section that allows you to enter the return type or the function name  I tried reseting the layou...
Morning all   using pb2023 windows 10   I need to check whether the timestamp or modified date is newer or older than another file for example these two files c:\myfiles\data1.txt  \\server\myfiles\data1..txt How would i do this within powerbu...

window function

PB2023 R3 Windows 10 Hi All I am having an issue where when I edit or create a window function the fields that allow you to name the function or sett the return value or arguments are now now not showing   I have tried removing the layout from th...
PB 2022 Does anyone know how I can determine if a user selected an attachment within an email to drag/drop using OLE?   When I get notified of the drop I loop through all the selected email items using .ActiveExplorer.Selection.Count.  Once I have ...


There are no discussions available here currently