Discussions tagged COM

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?...
...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...
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 about w...
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 doesnt work because of a structure size error. Can you point me to some code (or someone) tha...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom