Questions tagged [comobject]

1 votes
0 replies
How to fix an HRESULT: 0x8150002E Exception
Background: I'm running a $ie = New-Object -ComObject InternetExplorer.Application within Powershell 5.1.17134.590, but getting a "Cre...
asked 4 months ago
0 votes
0 replies
Why error: The object must be of type __ComObject or a type derived from __ComObject
Good day. I use the Visual Studio 2015 and have a WPF project with AForge library (custom media player project). When I run my project in Window...
asked 5 months ago
1 votes
0 replies
How to get the IPreviewHandler of a file type in the latest version of .Net
Recently at work I received a project that requires me to get a preview of a specific file type and display it in a preview pane (similar to the...
asked 5 months ago
0 votes
0 replies
Autohotkey sending mail through ComObject
Problem: I have made a script that sends a mail through ComObject and it works like a charm when i use it as user, but not if i execute it with T...
0 votes
1 replies
Is there a more elegant way to get the Internet Expolor version with AutoIt
Summary: I'm looking for a more elegant way to get the Internet Explorer (IE) version on a windows computer (especially with AutoIt, because of...
asked 7 months ago
0 votes
0 replies
COM object run as elevated privileges in C#
Currently I am calling ADMT COM object in C# with the following code. Type admtMigration = Type.GetTypeFromProgID("ADMT.Migration",t...
asked 4 months ago
0 votes
0 replies
How use List<string> return type of COM method
I have COM someName.tlb public interface Packet_Interface { [DispId(1)] string operName { get; set; } [DispId(2)] List<strin...
asked 5 months ago
0 votes
0 replies
Rights diffrent between Add-Content and copyhere?
I want to start a Powershell Script out of an Cmd Execution on our Server. Problem: The Versions are to old for easy one-liners and no extra Sof...
asked 5 months ago
2 votes
0 replies
Memory leak C# RuntimeBinder (dynamic keyword ?)
I'm currently working on a huge C# project interacting with Excel. We have detected that with some excel files memory resources grow exponentiall...
asked 6 months ago
-3 votes
2 replies
Effect of Deleting a com interface pointer
I am debugging a piece of code suspecting memory leaks in com objects. Structure of the code is something like below: Some method: Create a ne...
asked 6 months ago
-1 votes
1 replies
Windows 10 >= 1809 issues with jacob and Word ComObject
we have an old legacy app which uses Java version 1.6 update 45 (jdk-6u45-windows-i586.exe) and Jacob.dll 1.8 (jacob_18.zip), and which cannot be...
asked 8 months ago
0 votes
0 replies
Powershell New-Object fails when run by Windows Task scheduler
I'm pretty sure that this must be some kind of weird permissions problem, but I haven't been able to find anything that works. Here's the proble...
1 votes
2 replies
When to correctly release Outlook COM-objects?
I know similar questions have been asked here, but I feel like I don't understand it correctly. I have the following code for example: Microsof...
8 votes
1 replies
Microsoft.Office.Interop.Excel doesn't work on 64 bit
I've encountered a problem when developing on MS Visual Web Developer 2008 Express Ed. Developing ASP.NET C# on Windows7 64 bit OS. I'm trying t...
asked 6 years ago
10 votes
3 replies
Automate (IE ComObject) Fill Textboxes
I'm Trying to Automate a Outlook Web Access website, fill some textboxes and click a buttons, I can find the relevant elements in the first page...
4 votes
2 replies
Outlook/Powershell - Mail object truncating '.Body'
I am writing a script which will run an exe on a users machine, then prompt them to email the details back to me. The problem code is this: $Re...