Discussions tagged C#

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...
Will powerscript die and be replaced by C#? ...
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". ...
Sorry I am sure this has been asked before but for some reason I can't find anything useful. Does PowerBuilder 2019 come with some new and wonderful way of calling C# code, non-visual I think, without having to use COM wrappers, or Web APIs, or any ...
Hi All, There is a blob column in one of our Oracle database that has to be displayed to the Users in our web site. We are coding a new REST Web API that one of our web sites is consuming the methods. The Snap Develop is the PB 2019, not the PB 20...
In my PowerBuilder Client, I want to use the JsonPackage object to send the result sets of two datastores to our Web API that was created with SnapDevelop.  Here is my PB code: //set values of JSONPackage with API datastores ljpk_submit.setvalue( "...
Problem: Any value I pass to the Retrieve(argument) method returns the error below. I can't tell why. I've tried different data types in the database I need to pull records from. I've tried to use Guids, strings, number types, etc, but none of them ...
This may be more of a question I can post on the dotnet forums but I wanted to asked for the expert opinion from the Appeon community first. Lets say I create a web api from my data windows using the C# generator. I want to have a database for each ...
Hi, I've started using SnapDevelop today for the first time and I've got a small issue when I run my project. It pops up with the attached Security Warning about installing a root certificate for localhost.  I only seem to get this message if I run ...
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...
In PowerBuilder I have a workspace that includes an Application Target as well as a C# Assembly Target.  Within our Application Target I have a window.  In the C# Assembly Target i have a class with methods.  How do I call/access the methods found in...
Hi All, We are migrating a NVO to REST C# Web API. One of the methods that has to be migrated gets as argument a datastore and return, by reference, two (02) string arrays: column_names and dataTypes_names The PB method get the number of datastore ...
Hi all, We are evaluating the efforts to migrate PB NVOs from an EAS web app to REST API using Snap Develop and PB 2019. We already migrated few methods using the IDataStore object. However we noticed that several methods were missing from the orig...
In my project have too many custom NVO with not DS or DW. How to use this NVO in C# code or how to publish RestFull Service with this NVO ?!...
Hello Communty, is there a way to use ORCA in a .Net project (preferably C#) without writing a c++ wrapper?I have tried several ways, but find no solution:- PBORC170.DLL is not COM visible, so not possible using via COM interface- directly import of...
  • Page :
  • 1