Discussions tagged Script

Hi; We have a window that contains a WebBrowser control. There are jquery and Kendo scripts on the page that are failing in the control. We get a message saying "JSON not found" and then several cascading errors. The scripts run fine if the page is ...
Hi,   In my x64 refactoring of a ton of code I need to convert a String to LongPTR. How can I do that? I have a handle to a window is stored as string and ny SDK function involving a handle musrt be of tupe LongPTR Using PB2019R3   Thanks    ...
Hello, We have a datawindow control in our application which includes code in the itemfocuschanged event to perform some additional processing when column data is changed in the datawindow. We have added some error checking at the beginning of the e...
Hi all, I'm having trouble viewing documents in my browser if the document name has any spaces.  I'm trying to replace spaces with %20 for the browser... but when I run my code, it replaces space with %2520 ... here's an example: file:///E:/BenchTo...
I'm wondering whether anyone has done any enhancing of their PB applications to allow users to do scripting of the app's functions, and if so, what sort of technologies and techniques they used. Here's an example of a user request we got today. A us...
Hi my great fellow PB-champs :-)   Does anyone know if it is possible to trigger the dropdown menu associated with at "LargeButton" to dropdown from a script (programmatically).  I'm using 2019R3 (I want to do that because the used needs to make ...
Hi all, Thanks for spending your valuable time... I have an issue in the ItemChanged Event.  Consider that I have a dropdown data window having id genname in the list. The data type of id is numeric and genname is  string. The data column displa...
Challenge: Run PowerScript code stored in a string variable. Limitation: The only object that can be imported into a library is DataWindow. Who can do this?  ...
Can you use C# to write scripts for a window instead of powerscript? If not, can you direct me to any documentation on how to make a call to a REST service from a data window? I'm confident I can create a WebApi with SnapDevelop, but I don't yet kn...
We are using VB script in order to get all the process list of system which was working fine before we tried to use 64 bit executable because vb script is not compatible with 64 bit. The previous code is given below.   OleObject msscint li_rc, istr...
When you install GhostScript, the bin folder has multiple exe files. My question is which one does PB 2017 use? Is it gswin32c.exe like older versions, gswin64c.exe or does it depend on some condition? I am Printing the DataWindow to a PostScri...
Im converting apps to PB 2017.  When trying to SaveAs PDF, it works in PB 11.5 but not in PB 2017 app (these apps are deployed to RDS and ran as remote app).  Are there any PB runtime DLLs that are required for this that I might be missing?  Do I nee...
I was going through the Appeon tutorials - "PowerServer Web t find it in the Microsoft website. Where can I get "Microsoft Script Debugger" or is there any workaround. Thanks ...
Is there a preferred version of GPL Ghostscript that should be used for someone who is still using the Distill method with PowerBuilder 2017 R2? ...
Is there a way to switch off the warnings that come up - when closing script   The reason i ask is that I am writing an application that has to access several databases - sqlca - sqlcb and sqlcc So if i am actively connected to lets say the ...
  Hello to all When Im in the script window the mouse wheel does not scroll. someone knows why thank you GMY ...
In our app we have a DataWindow report with a background image that is saved to PDF. A customer reports their C drive being filled up while running the process that creates the PDF. For this customer, the report has about 850 pages. The process saves...
I have a PB app that was written long ago, and one thing it does is build its (MySQL) database as needed.  To do this, all of the scripts needed to build  the database were added to function objects, one per database object. i.e., theres an "fn_creat...
Hi All, Im working with the trial version of PowerBuilder 2017...currently using v 11.5.1. We currently use Ghostscript to SaveAS PDF.  Ghostscript also has functionality of being able to programically combine multiple PDFs into 1 PDF which has...
One of our major reasons to switch to PB2107 was that we can get rid of Ghostscript.  After we made our first tests with NativePDF we are very disappointed: The quality of the PDF created via NativePDF is very bad compared with the one created via Gh...

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