Search found 4 matches

by ovidiugabriel
19 Jul 2019, 03:30
Forum: Tips and Tricks
Topic: AHK/CLR/OpenXml - Office docs w/o Office
Replies: 5
Views: 4489

Re: AHK/CLR/OpenXml - Office docs w/o Office

Hello, It looks like a method is accessible only if it returns primitive types? In my case DocumentFormat.OpenXml.Packaging.SpreadsheetDocument does not have any public constructors so I cannot create a SpreadsheetDocument using CLR_CreateObject . The following code produces the error: Error: 0x8013...
by ovidiugabriel
18 Jul 2019, 10:13
Forum: Tips and Tricks
Topic: AHK/CLR/OpenXml - Office documents w/o MS Excel
Replies: 4
Views: 3664

Re: AHK/CLR/OpenXml - Office documents w/o MS Excel

I would like to use this in my project. The trouble with this is that I want to use AHK/CLR/OpenXml without writing C# glue code for this. Sometimes the OpenXml library requires invoking static methods like SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(fileName, SpreadsheetDoc...
by ovidiugabriel
18 Jul 2019, 09:49
Forum: Scripts and Functions
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 159
Views: 69348

Re: .NET Framework Interop (CLR, C#, VB)

Hello, I am not an expert in .NET/CLR internals, maybe my question is dumb. :oops: How does the compiler know where to lookup for DLL in the References list? I am asking because I searched on my computer and I have 19 instances of WindowsBase.dll, and 10 instances of DocumentFormat.OpenXml.dll Until...
by ovidiugabriel
10 Jul 2019, 10:07
Forum: Ask For Help
Topic: Problem opening an .xlsx file via LibreOffice's COM interface
Replies: 0
Views: 395

Problem opening an .xlsx file via LibreOffice's COM interface

Hello, I want to open an .xlsx file using LibreOffice. But when I specify "ReadOnly" argument to loadComponentFromURL I get com.sun.star.lang.IllegalArgumentException Error: 0x800405E9 from "automation bridge". I need to use ReadOnly mode to avoid the popup that is shown each time the file is locked...

Go to advanced search