Discussions tagged C#

In the current system architecture, connection strings to different databases are stored in an Azure Key Vault for security. I'm working on a way to have PowerServer API return connection configurations based on the connection strings from the Key Va...
I have the same source code in pb10.5 and pb2022, both compiled in 32-bit. In pb105, using the command CONNECTTONEWOBJECT("classolecomNONONONO") works. However, in pb2022 it always returns -3. What is the cause? How can I solve it?...
Hi Team,   We just used PB2022 R3 to deploy one of our products on PowerServer. We are seeing odd problems with datatype conversion on one of the application's screens. I am only receiving the error in the Powerserver deployed app, even though it d...
Hello, I've been playing around with the migrator and generated an ASP.NET Core project with models, controllers and services. However, when I try and run the app, I get the following error: System.InvalidOperationException: Route exceeds the ma...
Good morning, I have deployed a Webservice for data access using datawindows exported to C#. I have a question about how to dynamically generate the "documentation" from Snapdevelop with Swagger to deliver to our clients. I have seen how to do...
Which tool or extension is recommended by Appeon to obfuscate source code (Net Assembly) using Snapdevelop?...
Hello all, I have a problem. I am using Powebuilder 2022 R2. I have a c# class that needs to call a powerscript. The video I came across showed us to do it through Powerbuilder.RegisterObject, PowerBuilder.RegisteredObject.TriggerEvent and .Net Dll...
In PB, I have a print feature to print a string directly to a Zebra label printer.  The string includes Escape characters with formatting commands. It works great in my PB app. ll_job = PrintOpen("Label",TRUE) li_rc = Print(ll_job, ls_ZPL) li_rc =...
Hello,I'm using SnapDevelop to generate the DataWindows.I can see the default values for the columns of type string or datetime, but none of the numeric types.For example, this is fine:public string C_Chiuso_A_Forza { get; set; } = "N";But I can't se...
Hello, we have a quite large PB application that contains more than 500 reports (datawindows) We are creating a "light" version of the application on the web using C# VisualStudio 2022. It would be very nice if we could re-use the existing reports...
  Our C# application needs to use a specific business feature within a PowerBuilder application. As advised by our technical team, the C# application will send instructions to the PowerBuilder application using commands. The PowerBuilder application...
We are using PB2019 R3 and need to call a function in a running powerbuilder application from a C# program.   Is there a way to use PBNI for this or should we try some windows messaging approach?   Thanks in advance for assistance in this. /Joak...
...without using the Microsoft Interop Forms Toolkit. What we do until now: We use the .NET Framework 4.8.1 to write class libraries in C# and expose them to COM using the Interop Forms Toolkit. We call the COM-Server from PowerBuilder 2021. This wo...
I need to send very large documents (usually Word) to a SnapDevelop API so that I can upload them into a database table.  The documents are often greater than 30MB.  I initially tried using the SendRequest method.  It worked great until the file size...
Hi, I'm wondering how to handle update requests in my API, where the request does not necessarily include all the properties that the API is able to update.The API might be able to receive a DTO with 10 properties, but if your JSON only contains 5 o...
Hi all, I'm banging my head against the wall here.  I'm been working with snapdevelop and visual studio to migrate our old client server application [Front end connects to ASE directly]. hoping to evolve to an architecture where front end interact...
I'm looking into making updates to a database. So far I have normal updates working "datastore.Update();" However I'm curious if there is a way to do Bulk Updates with the C# datastores? ...
Hi! I am converting a few PowerBuilder apps to C# but I am not sure how to convert dlls from PowerBuilder to C#. One of my dlls in PB is defined as FUNCTION longptr Decrypt(ref longptr decryptMem) LIBRARY "DecryptDLL.dll" alias for "Decrypt;Ansi" ...
Hi, Is there a way to speed up how fast dataStore.Retrieve() retrieves all rows? Or can i split up the Retrieve() in some sort of way using multithreading. For example this is what I'm thinking, could I get the count of all rows, split it up N times...
Hi! I know I can create a datastore by doing new DatastoremyDW(MyOracleconnection)  but im looking to create a new DataStore from its attribute string, something like this new DataStore("myDWattribute"); Trying to do this throws an error "No metadat...

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