Discussions tagged .NET Assembly
.NET dll import (Assembly binding)
- How-to
- Last updated 2 months ago
- Miguel Leeuwe replied 2 months ago
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,...
Alternatives for AppeonDotNetComponent
- How-to
- Last updated 3 months ago
- Mike Kolenda replied 3 months ago
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...
.NET DLL Importer question regarding passing in PB structures
- Issue
- Last updated 6 months ago
- Donald Clayton replied 4 months ago
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...
PB 2022 Migration - Error when running DotNetAssembly.CreateInstance()
- Resolved
- Issue
- Last updated 1 year ago
- Ben Slater replied 6 months ago
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...
compile error on reference arguments to eternal function.
- Resolved
- How-to
- Last updated 1 year ago
- John Fauss replied 1 year ago
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...
.Net Assembly required DLLs not found
- Resolved
- How-to
- Last updated 1 year ago
- Mark Lee @Appeon replied 1 year ago
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...
How to set Runtime folder path for the Assembly project?
- Resolved
- How-to
- Last updated 1 year ago
- Mark Lee @Appeon replied 1 year ago
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...
Possible to import events with the .NET dll importer
- Resolved
- How-to
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
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 ...
call .net assembly winform error need setcompatibletextrenderingdefault
- How-to
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
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!!...
How to Deploy .Net Assembly along with Power Builder Exe
- Resolved
- How-to
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
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...
Calling a .NET Assembly with interface in constructor
- How-to
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
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...
.NET Assembly - parameters arrays are supported or unsupported?
- How-to
- Last updated 1 year ago
- Petr Czerny replied 1 year ago
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...
Powerbuilder .NET importer - complex data types
- How-to
- Last updated 2 years ago
- Miguel Leeuwe replied 2 years ago
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 ...
.NET DLL using an assembly from a network location
- Resolved
- How-to
- Last updated 2 years ago
- Miguel Leeuwe replied 2 years ago
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...
webservice multiple accounts hitting server
- Issue
- Last updated 2 years ago
- Luke Monson replied 2 years ago
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....
Consuming ASP.Net web service in Pb 2019
- How-to
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
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 ...
.NET DLL importer and .NET assembly problem or limitation
- How-to
- Last updated 3 years ago
- TOMAZ KRALJ replied 3 years ago
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