Discussions tagged C#
Getting Error Details from SelectProcedure?
- Resolved
- Advice
- Last updated 3 months ago
- Daryl Foster replied 3 months ago
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...
How to pass arrays to a C# dll ?
- Resolved
- How-to
- Last updated 5 months ago
- Christophe Feyte replied 3 months ago
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...
C# DataStore SortBy
- Resolved
- How-to
- Last updated 7 months ago
- Logan Liu @Appeon replied 7 months ago
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...
How to sign a PDF file from PowerBuilder 2019 using digital certificate
- How-to
- Last updated 9 months ago
- John Fauss replied 9 months ago
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...
Powerbuilder Trial version
- Resolved
- How-to
- Last updated 10 months ago
- Marco Meoni replied 10 months ago
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_...
Debug with Visual Studio and PowerBuilder for C# components
- Issue
- Last updated 10 months ago
- Chris Pollach @Appeon replied 10 months ago
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 ...
Select BLOB column with embedded SQL in Snap Develop 2019, not the R2
- How-to
- Last updated 1 year ago
- paulo gomes replied 1 year ago
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...
Process JsonPackage in SnapDevelop Controller
- Resolved
- How-to
- Last updated 1 year ago
- Thomas Rolseth replied 1 year ago
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( "...
Specified argument was out of the range of valid values.
- Resolved
- Issue
- Last updated 1 year ago
- Olivier PAVLIN replied 1 year ago
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 ...
How would you modify the code from the C# generator to create a multi-tenant web api?
- Resolved
- How-to
- Last updated 1 year ago
- Sabir Foux replied 1 year ago
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 ...
Certificate Security Warning from SnapDevelop
- Resolved
- Issue
- Last updated 1 year ago
- Logan Liu @Appeon replied 1 year ago
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...
Call C# Assembly methods from PowerBuilder Object
- How-to
- Last updated 1 year ago
- mike S replied 1 year ago
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...
snap developer: how to get datastore column names and data-types
- How-to
- Last updated 1 year ago
- paulo gomes replied 1 year ago
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 ...
Migrate NVOs from EAS web app to REST Web API with PB 2019/Snap Develop
- Advice
- Last updated 1 year ago
- Ricardo Jasso replied 1 year ago
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