Discussions tagged OLE
How to handle ActiveX methods that have output parameters?
- Resolved
- How-to
- Last updated 2 months ago
- Mark Jones replied 2 months ago
I am using the Amyuni ActiveX controls for PDF processing. A couple of their methods have output parameters.
System.Boolean SearchTextEx(System.Int16 Start, System.String Text, [out] System.Int32 Page, [out] System.Double xPos, [out] System.Doub...
Error migrating with MSComm32.ocx
- Issue
- Last updated 2 months ago
- Chris Pollach @Appeon replied 2 months ago
I am trying to migrate an application from powerbuilder 7.0 LOL
We used the mscomm32.ocx to communicate with a PLC via the Serial Port.
The client isn't looking to make any major changes (like communicate via TCP)
I have registered the OCX and...
Remove Oleobject dependency on MS Office install
- Advice
- Last updated 2 months ago
- Miguel Leeuwe replied 2 months ago
We have application that saves reports to Excel file using Oleobject and does data formatting after file is saved. This stopped working after MS Office was uninstalled form Citrix server due to company new policy. The file does get saved but erro...
Image resize in Powerbuilder
- Resolved
- How-to
- Last updated 4 months ago
- Tobias Roth replied 3 months ago
Hello,I'm a bit stuck, google didn't deliver as good as it usually do this time around.I'm looking for a VERY easy and quick way to resize images from ex. 4k 8MB files to around 2-300 Kb files (let's say 72 dpi 1080p). Imagine doing this for common f...
Issue with OLE control in PowerBuilder
- Issue
- Last updated 5 months ago
- MARK APTEKAR replied 5 months ago
Hi, My PowerBuilder application (2019 R3 2703) is using third party control. It is working for a long time already without any problems when control is placed into the window (Insert->Control->OLE...). But now I cannot use window and trying ...
Performance Issue with OLE Document Preview
- Advice
- Last updated 5 months ago
- Chris Pollach @Appeon replied 5 months ago
Hello,
We a have an interesting performance issue. We have a datawindow of records relating to Word documents (stored in a blob column). When we click on a record another area of the screen uses an ole control to preview the document. We've been cha...
Calling .NET Components from PowerBuilder Via COM Wrappers...
- Resolved
- How-to
- Last updated 6 months ago
- Bruce Armstrong replied 6 months 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...
Opening a word document inside ole control
- How-to
- Last updated 7 months ago
- Miguel Leeuwe replied 7 months ago
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...
How to add CC to Outlook message (using OLE)
- Resolved
- How-to
- Last updated 7 months ago
- Miguel Leeuwe replied 7 months ago
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 ...
Sending email through Outlook fails if application distributed with Cloud App Launcher
- Resolved
- Issue
- Last updated 10 months ago
- Hannu Pikkarainen replied 3 months ago
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...
Problem with OLE Control (microsoft word document)
- How-to
- Last updated 1 year ago
- Michael Gerus replied 1 year ago
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 ...
How to upload and edit word template in powerbuilder
- How-to
- Last updated 1 year ago
- Miguel Leeuwe replied 1 year ago
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...
Seeking suggestion for third-party Office ActiveX/OCX
- Advice
- Last updated 1 year ago
- Aron Cox replied 1 year ago
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...
Add OLE 64-bits Components from PowerBuilder IDE
- Misc
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
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...
ConnectToNewObject(Powerbuilder.Application) customers missing a dll?
- Resolved
- How-to
- Last updated 1 year ago
- Brage Mogstad replied 1 year ago
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 &am...
Excel, OLE, Error in Copying multiple sheets into an excel. Wrong sheet was copied.
- Issue
- Last updated 2 years ago
- John Fauss replied 2 years ago
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 ...
- Page :
- 1