Featured Questions
Q&A Forum Tip: Including Source Code in Your Question
- Advice
- Last updated 4 years ago
- Manuel Rivera replied 2 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.   :) 
            Send .XML using MSXML2.XMLHTTP, force from TLS 1.0 to TLS 1.2 - Please help.
- How-to
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
Hi all.
Perhaps someone can steer me in the right direction.
Help will be greatly appreciated.
Here is what we have and it is been working with TLS 1.0 flawlessly for years.
(very short version):
oleobject oXMLHttp
string s_xml, s_error, s_resp...
            How to build incrementally using command-line tools?
- Resolved
- Issue
- Last updated 5 years ago
- so th replied 2 years ago
This question is a follow-up to a previous question I asked about build "system" for PB2019. I have been banging my head on the walls for 3 days trying to understand how on Earth orcascript is supposed to work and how I could make it do what I want.
...
                    
            Size limit while exporting data from datawindow/datastore to plain JSON
- Issue
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
Hello,
Using PB 2022 R2 build 2819
Need to know whether any limit is there to export data from a datawindow / datastore to JSON.
Command used to export:
ls_json = dw_1.ExportJson(False)
Data in the above datawindow is retrieved by entering a per...
                    
            PB 2022 R1 BUILD 1900
when running the debugger, when i step in/over SharedObjectGet,  PB either crashes or hangs.  has anyone else seen that?  
 
 
            Datamatrix integration in a DataWindow
- How-to
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
Hello,I'm currently working with PowerBuilder version 2019 R3 and I need to insert a Datamatrix into an existing Datawindow.What is the easiest way to do this?Thanks for your help
            Excel, saveAs issue with OLEObject
- Resolved
- Issue
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
Hi, good day!
 
I'm using the OLE object connection to Excel for treat information and files. Hi have the next code implemented in one of my applications.
 
//                 More code before this 
 li_connect_excel = lole_excel.ConnectToObject...
            Unable to connect to database on Infomaker
- Resolved
- How-to
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
hello, i'm new infomaker user and just installed it. when trying to connect to my database i receive this message : Oracle library OCI.dll could not be loaded.
 
Any issue please.
 
Thanks
                    
            i got the error (could not load file or assembly 'QRcoder,version=1.4.3.0, Culture=neutral,PublicKeyToken=c4ed5b9ae8358a28'.A strongly-named assembly is required.(0x80131044)) at line 18 in function of_generateqrcode() of object nvo_myclass.... pleas...
            PDF Documents - Print Option
- Misc
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
Hi
I'm not sure how to request an enhancement to PowerBuilder. I note that 2022 R2 has enhancements for PDF documents. There is no print function though.
Some of our clients prefer to print their documents that our application generates in house. W...
            Error Ora-12541 : tns: no listener
- Resolved
- How-to
- Last updated 2 years ago
- Miguel Leeuwe replied 2 years ago
Hello,
 
when trying to connect to my database, i receive the error : Error Ora-12541 : tns: no listener.
 
I added correctly the right details of the database to the tnsname, paste this one into all \network\admin of my oracle installations, add...
            I am trying to implement TabbedViews with PB 2022 GA, but I have not been able to, I can't find any sample code or step by step tutorial videos on how to implement this new feature.
Defina a main windows calle w_main, mdi type with TabbedView checke...
                    
            Set RibbonBar LargeButton & Panel width
- How-to
- Last updated 2 years ago
- Peter Pang @Appeon replied 2 years ago
Hi there,I'm wondering if there is any way what so ever to set the Width of either a Panel or a LargeButton on the RibbonBar control?
Currently, the width of the buttons change depending on the size of the text, and it looks very messy as they are h...
                    
            Hi,
can I set "Packaging custom font in the generated PDF file" Application parameter from code for a specific datawindow?
There's application variable nativepdfincludecustomfont but it's inaccessible from PowerScript.
I can't embed fonts to all p...
                    
            Google Authentication - PowerBuilder 2022
- How-to
- Last updated 2 years ago
- Jeff Wilkinson replied 2 years ago
Bruce Armstrong has a great sample app for Google Authentication and seems to work fine in earlier versions of PowerBuilder including PowerBuilder 2019 R3.  However, that code does not provide the same or correct code when upgraded and ran on PowerBu...
            We're using PB 2022 R2 and our cient needs us to use Okta for authentication.  I couldn't find any examples on Code Exchange and the documentation covers PowerServer. I set up an app with Okta and have the url, client id and client secret but when I ...
                    
            Error using HTTPClient.setrequestheaders()
- How-to
- Last updated 2 years ago
- John Fauss replied 2 years ago
Hi,I have a problem when executing the function setrequestheaders() to which the following string is passed as a parameter:
"content-type: text/xml; charset=utf-8"
This call sometimes throws me the following error:
"Bad runtime function referenc...
            Has someone experiences with the timeout for HTTPClient?
Using the example from the PB Help causes no errors, but the is no timeout effect:
http = CREATE httpclienthttp.Timeout = 120
...
ll_rc = http.SendRequest ( 'POST', gs_webservice, ls_data )...
                    
            Tabbed window hidden microhelper status bar (PB2022 R2)
- Resolved
- Issue
- Last updated 2 years ago
- Mark Lee @Appeon replied 2 years ago
Hi,
Today, I installed and migrated my application to PowerBuilder 2022 R2. I enabled Tabbed Windows based on this instruction: https://docs.appeon.com/pb2022r2/application_techniques/Displaying_sheets_in_tabbed_view.html . It's working fine, but I ...
            webview2 can't capture NavigationStart event when target='_blank'
- How-to
- Last updated 2 years ago
- appeon pb replied 2 years ago
 
Hi,
     I need to capture the NavigationStart event when a link  with target='_blank' is clicked :
a href="/https://www.appeon.com/" target = "_blank" Appeon/aCan anyone give a suggestion?
            According to the documentation for PowerBuilder 2022 R2 Build 2819, the following runtime files are required for WebBrowser support:
 
pbwebbrowser.dll, webbrowserapi.tlb, and "PBWebView2" folder
"PBWebView2" folder is required for WebView2 Runt...
            
                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 
            
     
                             
                             
                             
                             
                             
                             
                            