1,311 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
45
views
Setting Excel_Application.Calculation property (via Delphi & OLE)
I am trying to read and set the calculation mode in Excel. I have
type
TXlCalculation = type LongWord;
const
xlCalculationAutomatic:TXlCalculation = TXlCalculation(-4105);
xlCalculationManual:...
Advice
0
votes
3
replies
50
views
LibreOffice OLE automation
I am using C++ builder for OLE automation in MS Excel. I now need to implement support for LibreOffice Calc. The following code works well in MS Excel. It is inserting an array of strings into ...
0
votes
0
answers
91
views
How to pass null as ActiveX control parameter
ActiveX control was registered from dll file using regsvr32:
cd \windows\syswow64
regsvr32 "C:\mapp\mycontrol.dll"
FoxPro object is created from it using
ofiscalprinter=CREATEOBJECT('...
0
votes
0
answers
76
views
How to parse .ole file in python?
I have some .ole files extracted from a reqifz archive. Along with them, there are just .png files that have the same name. This reqifz is exported from DOORS, as far as I know.
When we imported them ...
0
votes
0
answers
73
views
How to add MS Office classes in Visual C++ 6 to make possible run Excel and create some pages inside?
I need some help with a very ancient version of Visual C++ (VS6, MFC). I have an old project (2005 year approx), it can run Word through OLE and generate some page inside. As far as I remember I added ...
user avatar
user18965014
0
votes
0
answers
102
views
OLE Connection to different Word Instances
We have a module with a document preview using Word for the older format (.DOC). We also have other modules that open an OLE Word instance to work with Word documents. This all works fine, except we ...
0
votes
0
answers
108
views
OpenOffice Calc.Sheet.getCellByPosition.SetValue working incorrect in x64 Delphi
I have a simple Delphi code to working with OpenOffice.Calc:
procedure TForm7.Button1Click(Sender: TObject);
Var
OO, Desktop, ooParams, Calc, Sheet : OleVariant;
i : integer;
f : real;
begin
...
0
votes
1
answer
214
views
outlook version 1.2025.328.300 causes OLE error running on code that quite happily runs against previous version
We have a powerbuilder application that runs OLE automation on outlook with
li_rc = lole_outlook.ConnectToNewObject("outlook.application")
This code works fine with previous versions of ...
1
vote
0
answers
68
views
Extract OLE linked file path from disk file
I'm working with a Delphi codebase where I need to extract the file path of a linked file in an OLE container.
The container is saved on disk, and is openable with the methods TOleContainer....
2
votes
2
answers
111
views
In C++, how do I pass an IDispatch* from server to client using a VARIANT*
I'm trying to create a stub library so that I can test my client without a third party server library (because it depends on infrastructure that I don't have).
The client and stub library are both 32 ...
0
votes
0
answers
52
views
Eclipse RCP when opening OLE (word) the main bar menu disappears. how to avoid it?
In Eclipse-RCP I open a Microsoft Word document using the following code:
oleClientSite = new OleClientSite(oleFrame, SWT.NONE, "Word.Document", file);
oleClientSite.doVerb(OLE....
1
vote
0
answers
188
views
How to use a compiled Audio Processing Object (APO) .DLL?
I have compiled some test APO. Yet, I am not sure if it will even work.
When you compile an APO, you'll end up with a .DLL which usually has these methods exposed.
EXPORTS
DllCanUnloadNow ...
1
vote
0
answers
437
views
How to display simple text on an embedded Word document within SAP GUI using OLE without opening an external Word instance?
I'm working on an SAP ABAP program that embeds a Microsoft Word document into the SAP GUI container using i_oi_document_proxy from SAP's Office Integration. I need to display a simple text, retrieved ...
1
vote
1
answer
208
views
In Delphi, using Excel2000, how to copy a row and insert it further down?
I get an error in the following code:
const
xlDown = -4121; // Equivalent to Excel's xlDown constant
var
RowRange: OLEVariant;
iCrew: integer; // crew counter
begin
...
0
votes
0
answers
151
views
Microsoft Excel 12 OLE in Access form connection lost after editing
I have an Access form which contains an emmbeded Microsoft Excel 12 OLE object (class: Excel.Sheet.12), named Feuilles.
When I open the form, with Form_Open I store the workbook into a variable like ...