Discussions tagged .NET Assembly

The assembly binding is not working with .NET Dll import. Any suggestions for this? <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6ae...
  The dll has the dependency with System.Data.SqlClient namespace is not getting imported through .NET DLL Importer and getting below error message. Could you help us to fix the issue?    ...
Hi I have been using an Oleobject to use a C# DLL that signs XMLs required in Latin America, for invoicing.  In the specific case using XADES-EPES. The PB code looks like: li_rc = loo.ConnectToNewObject("CFeldan_FE.ClassMain").  With the try catch,...
We are working on migrating our PowerBuilder code to utilize PowerServer 2022 and we've identified that most of the methods/objects in Appeon_Workarounds.pbl no longer work.  One of these is the  AppeonDotNetComponent. We utilize the AppeonDotNetCom...
At Intertech we're trying to use the .NET DLL importer, wehave a structure defined in PowerBuilder called columninfo which has four elements: a_name (string), s_dbname(string), l_columnidsource (long), and l_columnidtarget (long).  So the structure h...
After migrating to PB 2022 from 2021, we are unable to create an instance of a .net class when running DotNetAssembly.CreateInstance() method. It's failing with error: "Bad runtime function reference" but all referenced dlls look good. This is failin...
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...
Dear Support Team, I have created the .Net Assembly project in Power Builder which will generate the DLL as an output and same DLL I am referencing in my another .Net Program. In my Power Builder .Net Assembly project I have used the DataStore to lo...
Dear Support Team, Can I set the Runtime folder path for the Assembly (dll file created using Power Builder)? The way we are setting the Runtime folder path in XML file for the EXE project. Thanks & Regards, Hiren Lad...
Is it possible to have events, not just methods, come from a .NET assembly into the PowerBuilder nvo when using the .NET dll imported in PowerBuilder 2019 R3? Or failing that, react to events that are raised from the .NET assembly in PowerBuilder in ...
When i call a .net assembly which has a winform window , powerbuilder 2021 trigger  a error, error message remind me  must call  setcompatibletextrenderingdefault first, but how to setcompatibletextrenderingdefault  ?  please help me!!...
Dear Support Team, I have created Power Builder application which generates the Exe as an output. In my project I have added .Net dll which have the functions and that I am calling in Power Builder application. Everything working fine in my developm...
Hi,  As far as I can see from the documentation, it is not supported to use .Net interfaces. Calling a .Net assembly seems straightforward, but is it possible to call a .Net Assembly which has an interface in the constructor? Example of class nam...
I try call .net function (copy form PB help Calling .NET Assembly in an Application) imported by .NET DLL Importer  //array argument public void TestByteArray(byte[] bArray) { for(int i = 0; i < bArray.Length; i...
Hello, all I am pretty sure I already know the answer to this, but now with PB 2021 is out I shall give it a hail Mary... Given: PB Classic desktop app, has to consume multiple .NET classes for external communications and other purposes. All .NET ...
Hi, I'm using Powerbuilder 2019 R2 and import a .NET Framework DLL 4.6 (Created Custom), encapsulate the dotnetassembly in the dotnet object as recommended.   When I run the program on the server side, i'm getting this error (Locally, i don't have...
Using Powerbuilder 2019 R2 and looking for some help with building an application that uses imported .Net Dll's.  We have installed the standalone compiler on a Jenkins server and have been successfully building applications there for the past few mo...
How does powerbuilder webservices application handle multiple requests at the same time.  For example, does it use pooled connections or does it try to open a new connection for each thread....
Good day Everyone!   I am just a newbie in powerbuilder and I wanted to use PB 2019 on my project which requires webservice. I haven't done or try anything yet because I don't know where to start. I already created my web service using ASP.NET Web ...
Hello everyone! Our company use NiceLabel product for printing labels. Product has option for integration with .NET API.  I just try to access .NET assembly SDK.NET.dll . I tried with .NET DLL importer but makes to many errors, so result is not usa...
  • Page :
  • 1