Discussions tagged OLE

...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...
Hello,I want to open a MS Word document within an OLE control inside a PowerBuilder window. In earlier versions of Word, the document opened inside the window (this is the desired behaviour). In newer versions it opens outside the window. I have t...
Hi, I'm trying to add CC address to an email I send from PB. Settting the subject, To (single receiver) work fine, but trying to add the CC gives error "incorrect number of parameters".   here is an extract of the code // This part works finelol...
Hello All,   I've had a strange error crop up in the last couple months on an app deployed and in use for many year without issue. My hunch is that it relates to a windows update security change or something else in the users security environment. ...
I'm using PB2021 Build 1509. I wish to view PDF files in a window (does not necessarily need to be a datawindow). Can anyone provide me sample code for me to look at? I have had limited success using an ole object inserting "Adobe Acrobat Browser ...
Hi, I have created an application for a customer, that sends email through users Outlook. It has worked without problems for years. For some time ago we switched the distribution of the application into Cloud App launcher model. Works fine. Now we...
Hi, friends. Please, help. I use OLE control (microsoft word document) in a window of PowerBuilder application. All worked correct. But suddenly Word began to open as regular application and not in OLE control after upgrade of Office on some comput...
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 ...
Hi Team, Greeting for the day, Requesting to kindly help me to know how to upload and edit the word template in PowerBuilder ( OLE ). I have multiple templates and want to upload on basis of condition. Need to edit the template and print the same...
The window is getting freeze which is having the MS-office(we are using O365 version) control attached on that window via OLE control. When we open that window, while initializing the WORD component, it is getting freeze for sometime.  And because of...
The window is getting freeze which is having the MS-office(we are using O365 version) control attached on that window via OLE control. When we open that window, while initializing the WORD component, it is getting freeze for sometime. And because of...
It would be great that you implement that the PowerBuilder IDE can add 64-bit OLE objects, currently I have a project that I must use 64-bit components and currently I can't use them. Thanks in adavance...
Hello,This works on my workstation where PB is installed.With customers, it does not work (exe+pbd+dll).Am I missing .dll's in my deployment?  oleObject PBObjectlong ll_result PBObject = CREATE oleObject ll_result = PBObject.ConnectToNewObject ("...
Hi All, My program is generating reports in excel format which contains 8 sheets. It is batch program to pick up the request from the queue, generate the reports, and send them to the user. And 4 sessions are running at the same time to process the ...
Hello, I have a PowerBuilder function which returns an array of members of an ActiveDirectory group. This works fine on my dev PC. However, when deployed it runs fine on some PCs but does not work on some others. I am unable to get to rootDSE when i...
Hello, I was wondering if there is way of hooking up my handlers for events fired by an external (nonvisual) OLE object. That is, after I create an OLEObject and connect using ConnectToNewObject, I'd like to be able to write a script (an event or fu...
I'm attempting to use the LoadXml() method of an MSXML Dom Document in an azure environment and it simply isn't working. When running on non-azure environments it works fine.There is no dev environment for our azure server yet so I can't view the err...
Dear Experts, I want to call VisualBasic for Application (VBA) macros and functions in Word or Excel documents which I have written myself out of/from PowerScript functions (instead of rewritting them in the PowerScript functions). Is this possible...
Hi All, I have successfully been using this script to connect to MS word  iole_object.ConnectToNewObject("word.application.8")  , but I now need to do similar with LibreOffice writer if I can.  What parameter should I be applying to ConnectToNewO...
Hello, PB 2017R3 I use the following code to import data from Excel to Datawindow.   ********************************************* OLEObject xlapp , xlsub dw_barcode.Reset()dw_barcode.SetTransObject(Sqlca) ll_sheet = 1ls_filename = Trim(sle_fil...

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