Discussions tagged PowerScript (PS)

We have encountered an issue with our recent migration over to 2022R3 64-bit when printing datawindows using the PrintDataWindow/PrintOpen calls.  The window will freeze, and does not print:  We are also unable to cancel the print job. ...
HI All, I need help. I have a structure, `str_patient`, with different data types such as long, string, boolean, datetime, datawindow, and userobject. From one datawindow, I am loading the local structure with all required parameters and the datawin...
Hi all.I'm using the match function to match a string that doesn't contain lowercase letters, but I'm getting an error with the following code example if match("abc", "^.*[^a-z]+.*$") then messagebox("", "match") end if I checked the document...
Hello, I started noticing quite some time ago (maybe in PB 12.5, maybe earlier) that PB stopped throwing an error when GetItemX datawindow method is called with row 0. Now, when it happened again in PB2019 R3, I decided to isolate the issue. I creat...
Hello, I've stumbled upon this phenomenon while writing tests with PBUnit. For illustration purposes, I isolated it as follows. Create two global functions: global function integer f_set_string (integer ai_in, ref string as_out); if ai_in = 1 the...
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...
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...
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 ...
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....
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...
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...
Hi,   How can I get a modern windows 10/11 version of the getfolder dialog box and not the one from 1999 :-)   Thanks Steen...
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...
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...
Hi,   Anyone tried this new PB2022 PDF feature : New PDF Builder (beta feature) - - What's New (appeon.com)   Thanks Steen...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom