Discussions tagged C#

Hi, So i am trying to update Oracle by using Datastore.Update() but I can't tell if its supposed to take a long time or if something in my code is not working. For reference, I think I am updating about 400k rows and each row has like 46 columns. Th...
Hi, I have another question on how to translate a PB function to C#. The powerbuilder function I want to translate is String(blob, EncodingANSI!), I added the Description for the function. In C#, I have the "blob" defined as byte[] Buffer. My goal i...
Hi,  I was able to convert PB datawindows to C# and currently I am trying to convert my whole PB app to C#. In PB I used an operation .GetItemNumber(), but what would this operation be in C# for the DataStore? There are three that I see that might b...
Hi, I was googling online to see if this is possible but I'm not sure it is. If I'm correct it was possible in PB2018, there was a CSharp Editor but I can't find how to do this in 2022. I know SnapDevelop is used to code in C# but then I have to eit...
Hi! I'm currently trying out the conversion from PowerBuilders DataWindows to C# using snapDevelop. Converting was the easy part, but I'm a little confused on how to use these C# files within my PowerBuilder 2022 app (if its even possible). Or maybe ...
Hi everyone! I've been stuck on this for almost two weeks now so I thought it might be best to ask here, is it possible to convert Powerbuilder DataWindows to C#? To my understanding I need SnapDevelop to convert but I don't have a license for that....
I'm trying to call a simple dll function to measure a piece of text, to see if it will fit in a confined space without being clipped. I have defined an external DLL in C# and have linked it into the PB source using external function.   In my first...
Hi all, I am trying to work on API service for our ERP system Invenotry function, need make use of nested Json structure to pass values: using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonso...
Hello, I just want to know if there is any special reason for GetJWTToken function if it's doing (almost) exactly the same as SendPostRequest. I see that GetJWTToken has extra return status:  "-5 -- Failed to get token" (and has SendPostRequest "-1...
Hi, we are using the addToLibraryList() function to dynamically extend the library list of our application, to dynamically use other/new powerbuilder objects like datawindows etc. This seems to be not fully supported anymore when deploying a powerse...
Hello,  We have a client app we built with PB2019R3 build 2703 and used SnapDevelop to build an API so that we can have a cloud app where the PB client runs on the users' local machine but the database and all data-access will be on Azure in the clo...
Hi,I am trying to use the feature that include PowerBuilder to Import .NET DLLs.So I have created a very basic app with PowerBuilder that include a non visual object imported with the Tool .NET DLL Importer.This non visual object is a C# .NET DLL mad...
Hi, I'm using the SnapObjects SelectProcedure function in a web api and I want to know how to catch an error that occurs in the stored procedure (from a RAISERROR command in the stored procedure.)  The SelectProcedure works ok and fills my model with...
Hello,We build a C# dll to use the SendInBlue's API (https://www.sendinblue.com/)We want to call the function from PowerBuilder 2019 build 2170.We pass as argument a string array that contains a list of recipients.When we check the contents of the ar...
How do you do a sort off of multiple fields? The SortBy for a C# DataStore only seems to accept one key field. Thanks,Bernie...
I would like to digitally sign a PDF file using PowerBuilder 2019. Since I was explained PB 2019 is currently not supporting this, here is the question for community. Is there is a 1. Windows DLL that can be used as a global External function from...
Hi, I'm here because one of my customers ask me the effort needed to migrate a PowerBuilder app to C#. I've tried to do it with the trial version, however after spend 2 day's and followed "using powerscript migrator" (https://docs.appeon.com/appeon_...
When we want debug our ActiveX components written in C# (Visual Studio) and PowerBuilder the application starts and stops. We have enabled 'Enable native code debugging' and 'Use Managed Compatibility Mode'. When we use PowerBuilder 12 is starts Po...
Hi all One of the features I like most about PB19 R2 is the support .net assemblies. The C# class importer is a very useful tool.  I noticed that C# events are not yet supported. The message I am receiving is "Delegate classes are not supported". ...

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