Discussions tagged COM

...without using the Microsoft Interop Forms Toolkit. What we do until now: We use the .NET Framework 4.8.1 to write class libraries in C# and expose them to COM using the Interop Forms Toolkit. We call the COM-Server from PowerBuilder 2021. This wo...
Hi all, With all the problems I was having with the Brother printer COM server, I thought I'd try writing my own in C# (VS2015). Mine is very simple right now. It just prints a sample label.  I wrote a second C# console program to test... works fine...
Hi all, I'm trying to print to a Brother label printer from my PB App.  Everything is fine until I execute iDoc.PrintOut() function (iDoc is the OLEObject).  The function keeps returning the same error (Error 11 - Printer not supported).  But I can ...
Has anyone successfully integrated a PowerBuilder app with the QuickBooks Desktop API, preferably using the QBFC (QuickBooks Foundation Classes)? It's all done through COM, which ought to be relatively easy in PB. The place I'm stuck is in finding o...
Am I right in thinking that if I have a non-visual COM object, that I can connect to with ConnectToNewObject on an OleObject, there is no way to see or process events that it might throw? I know about using a user object OleObject so I can catch the...
Hello community,   Do you think it's possible to use mscomm32.ocx when compiling Powerbuilder executable in 64 bits ? For me it works fine when I compile in 32 bits but not in 64 bits. I get "error accessing external object properties" with the sa...
Is there some way to use a PBD file of the PB19r3 into PB9; like a DLL file?...
We have an aging Server 2012 with some NVO's (with multiple datawindows) hosted through PB 10.5's PBVM. Our new server is 64bit, PB 10.5 VM no longer works with it, and I'm looking into ways to replace it. I haven't been able to find any good guides...
Hello friends.   I am testing an application compiled in PB 12.6 and using a COM object from a .NET Library generated in .NET Framework v4.6.1, but at moment to consume the functionality, something like this: Object_com = CREATE OLETxnObject ll_re...
Hi All, I'm thinking of buying some 3rd party controls for calendaring (WAG, MAG, etc.) & document processing. Should I get the Activex versions of these controls (32 or 64?) or can I somehow use another type like Winforms? Seems like I heard ab...
We just upgraded from 12.5.1 to 2017 R3 and started to encounter an issue with an application we are integrating with using OLE. The old version worked fine, but the new version randomly has given the following error trying to run a function on the O...
Currently we extend our Powerbuilder published applications with a variety of .NET user controls that we've COM wrapped and inserted as OLE controls. With the increased C# support coming in Powerbuilder 2018, will we be able to directly reference and...
Buenas Noches  a todos ​ necesito consumir y servicio web que biene en formato Json y grabarlo a la base de datos oracle 10g, la version de power builder que utilizo es power builder 2017 R2.   Gracias A todos   Att  Carlos   ...
Hi, I merged wrong code into one of the PBL and followed below script to prepare build and executables. It went through without throwing any error. Would you please advice how to get an error while preparing build and write into a log file? sta...
When I tries to create a  appeondotnetcomponent myComCaller I am getting  appeondotnetcomponent as illegal datatype. Please hep to how it will work I am using PB 2017 R2 ...
Hello Community, I have a custom DLL which calls a webservice. I am calling a webmethod of the DLL through appeondotnetcomponent.of_execinterface() method A calling app is supposed to provide the  info to the DLL. It works perfectly being calle...
Hello All, if i use this syntax caller=create appeonwebservicecomponent caller.proxydllorurl="http://localhost/webservice.asmx" The Localohost will be the server where appeon Server is running or the machine where the application  it ...
Hi all, we recently migrated from PB 12.5 to PB 2017 R2. We noticed that when modifying the SQL of a grid DW and going back in design, all the Footer and Summary computed fields are lost and all the computed columns are moved at the rightmost side...
With my PB 12.5 app, I had coded a call to the Windows API GetOpenFileName function that worked perfectly. When I compile that same app in PB 2017 64Bit, it doesn't work because of a structure size error. Can you point me to some code (or someone...
PB 2017 R2, Build 1756 Hello All, I have a nested report in the Summary band of a report. Both the report, and the nested report, are using the same procedure call and arguments, but presented differently per user specifications. The two arg...
  • Page :
  • 1