Discussions tagged COM
CONNECTTONEWOBJECT return -3 in pb2022 . But in pb105 work fine.
- Resolved
- Issue
- Last updated 1 month ago
- Fabio Pontel replied 1 month ago
I have the same source code in pb10.5 and pb2022, both compiled in 32-bit.
In pb105, using the command CONNECTTONEWOBJECT("classolecomNONONONO") works.
However, in pb2022 it always returns -3.
What is the cause? How can I solve it?...
Calling .NET Components from PowerBuilder Via COM Wrappers...
- Resolved
- How-to
- Last updated 1 year ago
- Bruce Armstrong replied 1 year ago
...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...
Custom COM object error: Class Name Not Found
- Resolved
- How-to
- Last updated 2 years ago
- Tracy Lamb replied 2 years ago
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...
Handling events on non-visual COM objects
- How-to
- Last updated 2 years ago
- Bruce Armstrong replied 2 years ago
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...
Failed using Mscomm32 with 64 bits powerbuilder application
- How-to
- Last updated 3 years ago
- John Fauss replied 8 months ago
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...
how to use PDB PB19R3 file into PB9?
- How-to
- Last updated 3 years ago
- Chris Pollach @Appeon replied 3 years ago
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...
OLEObject Incorrect number of parameters calling external object function
- Issue
- Last updated 5 years ago
- Steve Wolf replied 5 years ago
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...
.NET User Controls in Powerbuilder
- Misc
- Last updated 5 years ago
- Chris Pollach @Appeon replied 5 years ago
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...
Como consumir un web servicie en formato json
- Resolved
- Issue
- Last updated 6 years ago
- Miguel Leeuwe replied 6 years ago
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
...
ORCA script compiled code without error even I placed wrong code in PBL.
- Issue
- Last updated 6 years ago
- Olan Knight replied 6 years ago
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...
Illegal Datatype appeondotnetcomponent
- Resolved
- Issue
- Last updated 6 years ago
- Chris Pollach @Appeon replied 6 years ago
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
...
Which config file is used by appeondotnetcomponent?
- Issue
- Last updated 6 years ago
- Govinda Lopez @Appeon replied 6 years ago
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...
appeonwebservicecomponent proxydllorurl to localhost
- Issue
- Last updated 6 years ago
- Chris Pollach @Appeon replied 6 years ago
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 ...
Problem with computed columns in migrated grid DW
- Issue
- Last updated 6 years ago
- Marco Meoni replied 6 years ago
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...
GetOpenFileName/GetSaveFileName Windows Common Dialogs
- Issue
- Last updated 6 years ago
- Chris Pollach @Appeon replied 6 years ago
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...
- Page :
- 1