Featured Questions

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...
Good afternoon, I am using the rich text control in version 28. When I load a docx and insert bookmarks with the "inputfieldinsert" function it works fine until I save the document and reopen it, at which point the bookmarks are lost. With version 1...
Hi,  As far as I can see from the documentation, it is not supported to use .Net interfaces. Calling a .Net assembly seems straightforward, but is it possible to call a .Net Assembly which has an interface in the constructor? Example of class nam...
I want to get column data from a DataWindow into a string array. This can be done with dot notation: String ls_array[] ls_array = dw_1.Object.emp_name.Current   The problem is that I need to do it generically. Is there a way to do this with the c...
Hi,when I change the runtime in PB 2021 IDE to a runtime from PB 2019 R3, the IDE is not using the standard pb.ini.PB 2021 IDE with runtime 21.0.0.1311     pb.ini: C:\Users\*****\AppData\Local\Appeon\PowerBuilder 21.0\pb.ini    If the Initialization ...
I'm running PB 2019 R3 Build 2703.  I'm using RESTClient object to call SendGetRequest().  If the URL I'm passing exceeds 1325 characters in length, then  SendGetRequest() returns -2.  This equates to Invalid URL.  I've tested the URL outside of PB w...
Hi,   I am using PBNI SMTP control from Roland Smith - Topwiz. I have problem sending email through Office365 SMTP server. Could someone tell which are correct parameters for Connection type and Authentication type? I would like to authenticate w...
I am working on using EPPlus C# assembly for Excel from PowerBuilder. I am doing it with PB 2021 for now until we move to PB 2019-R3. Then I can move the code into the main application. I wrote a wrapper assembly in C# to make it easier to work with...
We have a datawindow that presents 107 columns in a grid  format. Most of the the columns are text fields retrieved from the database. We can't get width.autosize with values 1,2 or 3 to work at all. If I select the value in the column position pr...
Hello, I made al Client deployment and it worked fine an several machines. Only one machine had a problem during downloading the library. It stoped downloading the files without any comment and didn't start the EXE.  Starting it manually I got the ...
My colleagues and I are examining the capabilities of using Apache ECharts / Google Charts from the PB web browser control in PB 2019 R3. The demo applications provided in CodeXchange by Appeon have been very helpful in getting us started. We're try...
This issu is dddw not retrieve ServerAPI Control Faile. ...
GetModel<appfunc>(i,false) //24962 rows vs GetMode<appfunc>(i,true) //24962 rows Six simple compute column make get model,time from 64ms to 1755ms(27 times),memory from 10M to 137M(13.7 times)? Why? Test again: Core code: pub...
PB 2017 R3 1880 http = create HttpClient http.SetRequestHeader             ('Accept-Encoding',   'gzip,deflate') http.SetRequestHeader             ('Content-Type',        'text/xml') li_res = http.SendRequest         ('POST', ls_url,         ls...
Hi, I need help and Steps on how to migrate Powerbuilder script to c# (SnapDevelop). Any link or article will be for help.    ...
Report: Conclusion from the report(24962 rows data tested): 1:when load data from db,datastore performance is good,time and memory almost equal to ado.net datatable. 2:when convert data to poco model (with six compute columns),datastore performa...
I'm investigating using a .Net Assembly that our C# based web app uses, within our PowerBuilder desktop app. I am getting the following message from the CreateInstance function: Constructor on type 'OfficeOpenXml.ExcelPackage' not found. This code ...
Hi Appeon,     Is there any .net datastore performance test to help developer to make decision to invest appeon's .net datastore tech stack?     Tell us why .net datastore  is better than  ms efcore、dapper or other ormapping framework.     Thanks....
{ Stopwatch st = new Stopwatch(); st.Start(); for (int i = 0; i < 1; i++) { ds = new DataStore<appfunc>(); } st.Stop(); Console.WriteLine("new datastore:" + st.Elapsed.TotalMilliseconds); } { Stopwat...
Hai, I have a doubt.... How can manage the script execution ?.  that is... In a button click have lot of line and prepairing a datawindow from various tables and conditions. After that I want to open a window (window type = popup) and doing some ...
Dear, I need to pass the SAP Business One SDK applications, from DI-API to SAP ServiceLayer HANA, someone has worked with that from PowerBuilder   Español: Estimados , requiero pasar las aplicaciones de SAP Business ONE SDK , desde DI-API a SAP Se...


There are no discussions available here currently