Discussions tagged PowerScript (PS)
Is there any specific issue with "OAuthClient" and "TokenRequest" object and the grant_type as "Autherization_code" for access token request? Is there any security concern or disadvantage of using "HttpClient" object for requesting the access token instead of "OAuthClient" and "TokenRequest" object?
- Issue
- Last updated 1 month ago
- Namdev Gopalghare replied 1 month ago
We are trying to implement the OAuth flow in PowerBuilder windows application using Azure AD.
When the access token is requested using the "OAuthClient" and "TokenRequest" object with the grant_type as "Autherization_code" then we are always getting...
Powerser Deployment to Ubuntu 22.04
- Resolved
- How-to
- Last updated 2 months ago
- Narayana Bhat P replied 1 week ago
Hi Team,
We have succesfully buuild our application in powerserver and able to convert and access through browser in localhost.
Now we are trying to deploy application in ubuntun 22.04
We are using below version of powerbuilder and powerserver
...
Hello all,
I have a problem.
I am using Powebuilder 2022 R2. I have a c# class that needs to call a powerscript. The video I came across showed us to do it through Powerbuilder.RegisterObject, PowerBuilder.RegisteredObject.TriggerEvent and .Net Dll...
Hello All
We are migrating to 64 bits enviroment (PB2022 R2)
we have a external file in dbf format
in 32 bits we are using the microsoft driver for dbf but it is only available in 32 bits
does anyone have manage to connect to a DBF file in 64 bi...
Powerbuilder Classic window 100% transparent background with static text 100% visible
- Resolved
- How-to
- Last updated 7 months ago
- Miguel Leeuwe replied 7 months ago
I have made a Powerbuilder classic window with a transparent background which works almost perfectly for the task I'm trying to achieve. I'm trying to have a transparent window topmost over all other applications (achieved that part so far), which ha...
Listview Items to String Format
- Resolved
- How-to
- Last updated 8 months ago
- John Raghanti replied 8 months ago
Good day!
I need help in my code in which I have this listview as shown below
What I want to achieve is that I want to go over each value of the listview and have the result to be formatted as:
"a_1,a_10,a_2,a_3,a_4,a_5,a_6,a_7,a_8,a_9"
So far ...
Using ChatGPT to generate PB Code
- Resolved
- Misc
- Last updated 10 months ago
- Sivaprakash BKR replied 4 days ago
For what it's worth, I've asked ChatGPT to write PowerBuilder code for a few relatively simple functions. The results were good, often giving me better ways to approach a problem. Amazing stuff this AI....
How to convert unicode string into corresponding characters
- Resolved
- How-to
- Last updated 1 year ago
- Benjamin Gaesslein replied 1 year ago
Hello everyone
I now have a a.txt file, the content is \u5171\u7528, after using the fileread() function to read, I want to convert \uxxxx into corresponding characters, the following is my attempt
li_fhandl=fileopen("C:\work\a.txt")
li_fread=file...
What function can be used to import window into pbl
- Resolved
- How-to
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
Hello everyone!
I use the LibraryExport function to export all the objects in pbl. When I want to use the LibraryImport function to import, I see in the document that the LibraryImport function can only import the DataWindow type. Why is this ?
Are...
Hi
Is there a way how to get list of stack calls into a variable, message or another object?
Like Java can do it in exception.
What's going on:
In my SW I'm catching systemerror, datawindow errors etc and I'm sending these errors through mails. I...
How to get a modern version of GetFolder()
- How-to
- Last updated 1 year ago
- Roland Smith replied 1 year ago
Hi,
How can I get a modern windows 10/11 version of the getfolder dialog box and not the one from 1999 :-)
Thanks Steen...
Convert decimal to invariant string
- How-to
- Last updated 1 year ago
- Benjamin Gaesslein replied 1 year ago
Hi
Is there a direct way how to convert a decimal to a culture invariant string?
Standard method string( decimal ) returns the string converted according to the local user's setting. Like in Europe string(1.2) returns "1,2". Or "1'2" etc. What I wa...
Getting proper NUP row # during pbm_dwnmousemove event
- Issue
- Last updated 1 year ago
- Frank Zettanucci replied 1 year ago
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 ...
Hi,
Does anyone know how I can trigger a "Windows notification" from PowerBuilder (PB 2022 GA)
and API call I guess but I don't know how :-)
Thanks
//Steen...
New PDF Builder (beta feature) in pb2022ga
- Resolved
- How-to
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
Hi,
Anyone tried this new PB2022 PDF feature : New PDF Builder (beta feature) - - What's New (appeon.com)
Thanks Steen...
Like many of you I need to be able to close a tab page using the standardised close button located on the tab-page (like in any browser)
However that feature is NOT available in PB and will not be for the next 1.5 - 2 years (at least) even though it...
Pfc_sort service triggers when users resize grid dwo column
- Resolved
- How-to
- Last updated 2 years ago
- René Ullrich replied 2 years ago
Hello,I'm in dire need of help.A grid dwo has PFC sort service enabled.As the user expands a grid column, the pfc_sort service triggers and changes sort statement to the column clicked.The user is not happy.
I've tried to catch the pointer (Cross!) ...
Saving Graph Datawindow to Clipboard distorts image size
- Resolved
- Issue
- Last updated 2 years ago
- Richard Donagrandi replied 2 years ago
Wondering if anyone has a solution to an issue I'm having...
I'm getting signature data from a pin pad in data-point format (not a bmp). I can graph this data using a graph datawindow and fill in the gaps to give the appearance of a solid line. The ...
Version of an Application built by PowerBuilder?
- Resolved
- How-to
- Last updated 2 years ago
- Konrad Kaltenbach replied 2 years ago
Dear Experts,
I want to get the file version and the product version (Major, Minor, Build, Revision) of the application built by PowerBuilder and date and time when it was built.
How do I get these informations with PowerScript functions?
In Visua...
DataWindow.SaveAs(ls_path, PDF,...) fails on page 2 et seq.
- Resolved
- Issue
- Last updated 2 years ago
- Konrad Kaltenbach replied 2 years ago
Dear Experts,
using PowerBuilder 2019 R2 Build 2353,
I tried to save the content of a DataWindow in a PDF file. Page 1 is generated fine.But from page 2 on it seems that all columns except the last one from pages 1,..., n-1 are printed on page n...
- Page :
- 1