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.   :) 
            Hi All,
It is a year since I last asked a question about Audio Capture using Powerserver Mobile.  The initial request in our App was put on hold but has once again to the fore.  Unfortunately, I have not had any luck implementing audio recording usi...
            Hi Appeon Community,
 
we have recently upgraded our application from PowerBuilder 12.5 to PB2019 R3. we have replaced the menu control with the new feature available in pb2019 which is Ribbonbar. so our menus are no more part of the application. w...
            WebBrowser Control in 64bit not working
- Resolved
- How-to
- Last updated 6 years ago
- Rahul Shravage replied 4 years ago
I'm trying to use the Microsoft WebBrowser control in a PB 12.6 64bit application. When I run it, it gives an error that it is unable to convert an any variable to extobject.
 Has anyone gotten this to work?
 
            Dynamic datastore with stored procedure datasource
- How-to
- Last updated 4 years ago
- Pam Koch replied 4 years ago
Is it possible to create a dynamic datastore, with a stored procedure as the data source, without executing the stored procedure twice?   
Given the below code, the stored procedure executes once for the SyntaxfromSQL and once for the retrieve.
ls_...
            Saveas datawindow with richtext style column to PDF in Blanck
- Issue
- Last updated 4 years ago
- Mark Goldsmith replied 4 years ago
I've created with PB 2019 R3 Build 2670 a datawindow with external data source that has a column with richtext style. The application additional properties of PDF Export are 'Always use NativePDF! metchod for PDF export' and of RichTextEdit 'Built-in...
                    
            long ll_returnRestClient lnv_RestClientlnv_RestClient = Create RestClient
// Set DataObjectdw_1.DataObject = "d_sq_gr_emp"
// Send request using GETll_return = lnv_RestClient.Retrieve(dw_1, "https://demo.appeon.com/PB/webapi_client/employee/102")
...
            PB 2019 R3 Datawindow Insert getting SQLSTATE 22007 error
- Issue
- Last updated 4 years ago
- Chris Pollach @Appeon replied 4 years ago
Upgraded to 2019 R3 and made the recommended change to MSOLEDBSQL setting, downloaded the latest driver from Microsoft and now getting:
SQLSTATE = 22007Microsoft OLE DB Driver for SQL ServerThe fractional part of the provided time value overflows th...
            program does not work after a long break
- Issue
- Last updated 4 years ago
- Rudolf Fürst replied 4 years ago
Hi
A running program is not used for a long time (approx. 1 hour). After that, it can no longer be activated, but throws a new dump file every 2 minutes without a crash.does anyone know this problem? PB2019R3 2670
Regards Rudi
 
            HttpClient.GetResponseHeader() return empty value
- How-to
- Last updated 4 years ago
- Daryl Foster replied 4 years ago
Hi,
I tried to get Response hander from web page but it return empty value when the header value get from Form.Data.  It worked when hardcode the value (refer to below dbweb.aspx ) :-
PB logic:-
int li_rc, li_status string ls_header, ls_body,ls_Co...
            In ribbon bar control when you have a combobox how do you fire clicked event to set focus to the combobox?
The intention is that as a user navigates the menu a category change will find first combobox on the category and click it so the user can sta...
                    
            datawindow column style type of RichText
- How-to
- Last updated 4 years ago
- Chris Pollach @Appeon replied 4 years ago
Migrating from PB 11.5 using a datawindow column style type of RichText to PB 2019 R2, the runtime does not display these columns? Running thru the IDE of 2019 R2 it show properly, not not after EXE created? Triple checked i had all the DLLs, but jus...
            Dropdown List box does not show display value when data window is retrieved
- Resolved
- How-to
- Last updated 4 years ago
- Miguel Leeuwe replied 4 years ago
I have created a data window which has a dropdown lit box for Gender. 
When a new record is added, the field shows display value to select from. However, when a window is retrieved, column shows data value instead of display value.
I did write belo...
            Theme: Change the color of the header band for DataWindow.
- How-to
- Last updated 4 years ago
- Ken Guo @Appeon replied 4 years ago
After applying a theme, I can't seem to get the Head Band for this data window to change color anymore.The background for the data window and such is all white, yet it's gray when I run the software.
What node do I edit in theme.json to change this ...
            webbrowser control and registerevent
- Resolved
- How-to
- Last updated 4 years ago
- Miguel Leeuwe replied 4 years ago
Hi,
I'm trying to trigger a powerbuilder user event from the new webbrowser control.
The help on registerEvent() has this nice example, but it doesn't tell you how to trigger the event from html/javascript. Has anyone done this?
TIA.
//define a u...
            Using HTTP Request Header for changing DB connection string
- How-to
- Last updated 4 years ago
- Armeen Mazda @Appeon replied 4 years ago
Hi,
I'm working on my first .Net DataStore Web Api project and it is really different from PBScript. On DB Server we have many databases (same structure) for different customers (tenants) and I would like to send the database name via HTTP header li...
            pbcrypt.dll provided in PB runtime package of 2019 R3 is not working
- How-to
- Last updated 4 years ago
- Mark Lee @Appeon replied 4 years ago
PBCRYPT.dll provided in Runtime package of 2019 R3 is not working. And this DLL is taking precedence over our existing dll. Please let us know the resolution for this.
This is our existing declaration and call to a function of this DLL
Declaration:...
            Built in function returning -1
- Advice
- Last updated 4 years ago
- Chris Pollach @Appeon replied 4 years ago
I have created a datawindow graph that is a line graph. I am trying to set the line colour and the type of symbol;
ll_return = this.SetSeriesStyle ('gr_1','AC MW',LineColor!,8257536)ll_return = this.SetSeriesStyle ('gr_1','AC MW',NoSymbol!)
Both ca...
                    
            Form Fields in Rich Text Edit (RTE) control
- How-to
- Last updated 4 years ago
- Chris Pollach @Appeon replied 4 years ago
Can I insert data entry fields into a Rich Text document in a PB Rich Text control?  
I understand PowerBuilder supports version 1.6 of the RTF standard, except for Formatted tables and Drawing objects.  The RTF 1.6 standard seems to support such fi...
            HTTPClient Basic Authentication
- How-to
- Last updated 4 years ago
- Armeen Mazda @Appeon replied 4 years ago
I am using HTTPClient to call a web service. I need to set up basic authentication in the header with a username and password. Is there some documentation on how to do this or can you share a snippet of example code for this?
            Hello,
I have a pop up window to prompt user to enter in "Customer Name" to search on.
If I use "Edit Mask as my field type, when I type in "tst customer", then try to enter insert "e" in front of "s" the letter to correct my spelling mistake syste...
            
                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 
            
     
                             
                             
                             
                             
                             
                             
                             
                             
                            