Search found 7 matches

by ovidiugabriel
11 Nov 2020, 13:56
Forum: Ask For Help
Topic: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable
Replies: 4
Views: 240

Re: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable

@Xtra Do you have any idea where is the git repo where I can see Line 190 in JSON.cs ?
by ovidiugabriel
08 Nov 2020, 16:51
Forum: Ask For Help
Topic: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable
Replies: 4
Views: 240

Re: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable

Actually the code already has that paren'.
Sorry, it was a mistake when I pasted the code on the forum.
Xtra wrote:
08 Nov 2020, 14:55
Missing closing )
Try fixing that 1st
by ovidiugabriel
08 Nov 2020, 14:46
Forum: Ask For Help
Topic: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable
Replies: 4
Views: 240

Selenium.Serializer.JsonException: Object of type __ComObject is not serializable

Hello, I have the following error while calling Selenium function SetCapability from Autohotkey Error: 0x80131500 - Source: Selenium Description: Selenium.Serializer.JsonException Line 190 in JSON.cs Object of type __ComObject is not serializable HelpFile: (null) Helpcontext: 0 Specifically: Get Lin...
by ovidiugabriel
19 Jul 2019, 03:30
Forum: Tips and Tricks
Topic: AHK/CLR/OpenXml - Office docs w/o Office
Replies: 5
Views: 4609

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: 3764

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: 72738

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: 415

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