Discussions tagged SnapDevelop

In my PowerBuilder applications I order the datawindow with various parameters as in the following example ... dw_1.SetSort("param1 a, param2 a, param3 a") dw_1.Sort()   In SnapDevelop I see Sort Method, but I don't  know how to order multiples p...
{KomentoDisable}xxss Buenas tardes,  alguien que me ayude, indicándome porque al convertir el datawindow en snapdevelop me esta dando este error: ...
Hi, everybody. I got a question about how to connect into a Database with Database Connection option, I follow the steps but it never shows me the database from my own, just System Database like Master, Model, Msdb etc... There is something I can d...
Hi Guys I've followed the steps on this tutorial: https://docs.appeon.com/snapdevelop2019/Secure_a_Web_API_with_JWT_Token/index.html But I get always 401 Unauthorized when I try to call the API (After successfull login) Any hints? In attachment ...
I search in options->Environment AutoRecover or AutoSave but didn't find !  In VS 2019 in Environment have AutoRecover....
Hello, in my PowerBUilder application I use Sql Native Client to connect to Microsoft SQL Server.I use this Parameters: SQLCA.DBMS = "SNC SQL Native Client (OLE DB)" SQLCA.LogPass = "serverpassword" SQLCA.ServerName = "server\instance" SQLCA.Lo...
We were using DataObjectFactory.LoadDataWindow(null) in the startup class of our xUnit project for our API.  I've discovered that our unit tests referencing datawindows are no longer working with an error message stating that the metadata for the dat...
Hi, We have developed a SnapDevelop WebApI using 2019 R2. When I deploy it to IIS in this case on the same machine (windows 10) where we developed it, I get the error below while accessing it:     We have made sure all permissions are availab...
So I have a C# dll I am already calling from PowerBuilder by compiling it as an Active/X control. Most calls return a class containing a number of variables and the PowerBuilder .Net Dll Importer can't handle these, ignoring them completely. So this...
I have been playing with SnapDevelop. I have a dll I wrote in C# .NET Framework Standard which fails to compile after opening the solution in SnapDevelop, even though it works just fine in Visual Studio 2017 and 2019. The error is gives is: Please c...
In VS 2019 in menu Edit have Paste Special -> Paste Json/XML As Classes. I can't find this functionality in SnapDevelop ?!...
We are replacing instances of the deprecated SelectToStore() method in our web api.  In the code below (line 2) we switched 'SelectToStore' to 'Select'.  However, we now get an error on the last line.  The error is attached.  What is the proper synta...
In order to create a .NET API  I am trying to connect to Sybase ASE databases on our servers. They can connect in PowerPoint 2019 R2 but not in SnapDevelop. Is there any way to make the Connection via a Connection string etc. I am trying to Add a Dat...
We have migrated our web api to SnapDevelop 2.0.  It runs on a Windows 10 machine using an Oracle 11g database.  The api method below worked fine in SnapDevelop 1.0 but now after the migration we are getting the attached exception. During the migrati...
Is Powerbuilder HttpClient supported in a SnapDevelop 2019 R2? WebAPI project?  I am am migrating PowerScript to a C# WebAPI project.  When I declare 'HttpClient Http;' in my GlobalFunc, I receive this compiler message: The type or namespace name 'H...
The SelectToStore<> method has been deprecated in SnapDevelop 2.0.  We used this extensively in v1.0.  What is the replacement for this this?  How should our code be modified? We used this to get values from SELECT statements like so: var res...
Hi everyone,  I ran into a problem while trying SnapDevelop. I am trying to create simple REST API.   I have a DataStore, which is imported from PB. It uses stored procedure as a data source. That stored procedure takes 5 arguments.  I can create...
I have been on this for days. Please help with the snapobject v.2.0 usage below. How do i make snapobject to run the multi-table sql query defined in DwSelectAttribute on the D_Rpt_Mm_Tbills poco class public List<D_Rpt_Mm_Tbills> Test(param...
I am in the process of migrating a web api from SnapDevelop R1 to R2.  We have about 50 datawindows that were exported to the api using the C# Model Generator.  The exported srd's and classes for these were in a 'DataWindows' folder along with the co...
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_...
  • Page :
  • 1