Featured Questions
Q&A Forum Tip: Including Source Code in Your Question
- Advice
- Last updated 4 years ago
- Manuel Rivera replied 3 weeks ago
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...
            Please Update Your Queries With The Solution
- Resolved
- How-to
- Last updated 4 years ago
- Olan Knight replied 4 years ago
Saw this and thought it was perfect. Note the angry mob in the background on panel 4.   :) 
            ApplyTheme always returning -1 in production environment
- Resolved
- Issue
- Last updated 2 years ago
- Robert Carlson replied 2 years ago
Hello all.
We recently updated our software to use the new PB UI themes. Our customers haven't had any problems with this working in production, except for one group of customers who are using Windows Server 2016 to host , and RDS to connect to the ...
                    
            Web api to send email with attachment from client computer.
- How-to
- Last updated 2 years ago
- Shaji Markose replied 2 years ago
Hi Appeon team,
I am trying to send a file from my powerbuilder client application to the web API (snapdevelop) from where to send an email with the file as an attachment.   I would appreciate if any body can help me with example codes. The file for...
            How to get a modern version of GetFolder()
- How-to
- Last updated 2 years ago
- Miguel Leeuwe replied 2 years 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
                    
            Save datawindow data as PDF file using NativePDF
- How-to
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
Hi,
I am using Powerbuilder 2019 R3. My question is:  Does Powerbuilder rely on default printer driver or any printer driver on the local computer to generate the PDF file in the following code ?
dw_1.Object.DataWindow.Export.PDF.NativePDF.UsePrint...
            How to Change Auto Login password and regain access to Pb 2022
- How-to
- Last updated 2 years ago
- Miguel Leeuwe replied 2 years ago
Running: Pb 2022 on: 
Lenovo-Ideapad3Processor 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz 2.80 GHzInstalled RAM 16.0 GB (15.8 GB usable)System type 64-bit operating system, x64-based processorNo pen or touch input.
Hard disk crashed and was r...
            PowerServer 2022 Session Error/Timeout
- Issue
- Last updated 2 years ago
- Logan Liu @Appeon replied 2 years ago
We recently migrated a PB 2019 application to 2022 and also deployed it to PowerServer.  It's been working very well.  However, one user reported an issue recently.  The user stated that the app was started and used without issue for a while.  It was...
                    
            PB 2017 - GitHub is cloning the old non-updated PBL - this is understandable but . . . It doesn't seem to let me "UPLOAD PBL" to get a fresher copy to the GitHub server. I' can "Upload PBL" but I don't see it updated on GitHub.
PB 2019 lets us "Refr...
                    
            Re: ImportJSONByKey fails on compiled project
- How-to
- Last updated 2 years ago
- Matt Balent replied 2 years ago
Hello,
PB 2022 B 1892
In one of my projects, ImportJSONByKey fails to import data when run from exe.  The same JSON string imports successfully when run from the IDE.  The command used to import JSON is
li_rc = ids_setup.ImportJSONByKey(ls_ret_jso...
                    
            What is the default height of toolbars?
Can they be changed?
 
 
 
 
PowerBuilder 2021 build 1506
Windows 10 Enterprise. 
            Creating objects by string
- Resolved
- How-to
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
I know that there is the OpenUserObject function that allows creating a userobject variable where the object name is in a string.
I want to do it with non-visual userobjects and OpenUserObject only works with dragobject (visual) and the parent must ...
            Hi. I'm having an issue with an edit that we've added to a pb window. 
 
The window has 2 datawindows. We've added code to itemchanged to validate, but this code only fires if I tab off the field, or click on another field on THAT datawindow. If we...
            Multiple emails are sent using WEB API
- Issue
- Last updated 2 years ago
- LeVerne Johnson replied 2 years ago
We are using a WEB API to send email out to recipients with attachments.  But, the recipients are getting the same email several times.  The application loops through a table to extract the email addresses.
Any suggestions or help?
            GetAdaptersAddresses - anyone have this coded for powerscript?
- How-to
- Last updated 2 years ago
- John Fauss replied 2 years ago
Roland (topwizprogramming.com) has sample code for the older version (for windows versions prior to XP) which is: GetAdaptersInfo
that older version does not have all the information available that GetAdaptersAddresses  has (ipV6 in particular) 
Ge...
            PB2022 PowerServer Project Painter only recognizes 64 bit ODBC datasources?
- Issue
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
I was attempting to follow the tutorial in PB2022 for PowerServer, using the Sales Demo app. The PowerServer project painter apparently only recognizes Sql Anywhere (ODBC) data source names if they are set up with the 64 bit ODBC Data Source Administ...
                    
            PowerBuilder 2022 crash when opening DataWindow Object
- Issue
- Last updated 3 years ago
- Chris Pollach @Appeon replied 2 years ago
I've converted an application from PB 2021 to PB 2022.  The application was originally written in PB 2017, then converted to PB 2019, then PB 2021.  When opening the DataWindow, PB 2022 crashes without error message.  The same is true when creating a...
                    
            Autoscript with PB2022
- Resolved
- Issue
- Last updated 2 years ago
- Francisco Martinez @Appeon replied 2 years ago
Hi all,
I'm starting migration from PB2021 to PB2021, in PB2021 autoscript worked for me including local variables
 
but Now under PB2022 it does not. I have no idea what i could be doin wrong.
here a a few images of setting of the basic stuff.
...
            Why PB cannot save object if there is error in script?
- Resolved
- Issue
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
One of the worst problem with PowerBuilder(by birth) is that it cannot save object if there is error in script.
 
Is there a way to save object if whole bunch of errors are there in any script?
 
Why not there is need for autosave?
 
Note: This...
                    
            Migrate backwards from PB 2019 R3 to PB 2017
- How-to
- Last updated 2 years ago
- Roland Smith replied 2 years ago
For extemely stupid reasons I need to take an application that was migrated to PowerBuilder 2019 R3 some time ago and migrate it back to PowerBuilder 2017.
Just wondering if anyone has any hints on how that may be done. I suppose I could just export...
            Hi
This is Prashant here I am facing probem with unicode numeric datatype. Which I believe could be for numeric values unicode \u and I set Edit mask Format = ###,###. If I removed Edit Mask and allow it return garbage value.
If fails to enter nume...
                    
            Soap in powerserver 2021
- Resolved
- How-to
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
Tenemos una aplicaciion en produccion con Power Server 2021.
Y tenemos la necesidad de utilizar SOAP para consumir WSDL , ademas de enviar informacion.
Cual es la manera mas adecuada de hacer esto, sabiendo que actualmente SOAP ya esta obsoleto des...
            
                Loading...
            
        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 
                     DPI 
                     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 
                     RibbonView 
                     Rich Text 
                     Roadmap 
                     RPC 
                     Runtime Packager 
                     SaaS 
                     Scaffolding 
                     Script 
                     SDI 
                     SDK 
                     Security 
                     Server 
                     Service 
                     Session 
                     Single Sign-on 
                     Size 
                     SMTP 
                     SMTPClient 
                     SnapDevelop 
                     SOAP 
                     Solution 
                     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 
            
     
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                            