Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
86 views

I am currently using a COM Interop DLL, generated with tlbimp, to access a proprietary COM library from C# (net8), so no source code available (TLB embedded in DLL). It works, but stops me from using ...
2 votes
1 answer
113 views

I am getting the following exception when using another assembly from a ComInterop assembly: System.IO.FileNotFoundException: Could not load file or assembly 'Wpf.Tools.CSharp (...)'. The system ...
0 votes
0 answers
26 views

I've created a simple counter class using .NET 8 and C#: SimpleCounter.cs using System.Runtime.InteropServices; namespace Counters { [ComVisible(true)] [Guid("01FB5599-3CD1-462E-98AA-...
1 vote
1 answer
120 views

I need to use a Windows API function in my VB.NET application. I need to pass an ASCII string of text to that function. This string is stored as a zero-terminated byte array. What I currently do is I ...
1 vote
1 answer
55 views

I have an ASP.NET web application to export an Excel file with multiple sheets. Each sheet contains multiple tables on it created using Microsoft.Excel.Interop.Services package. The export ...
0 votes
1 answer
70 views

Yes, you read the title correctly - this is an issue that only occurs when UAC is off (for example, with the built-in Administrator account on Windows Server systems). Repro steps: Create a COM-...
Heinzi's user avatar
  • 173k
5 votes
1 answer
185 views

Working on creating a .NET 8 library which will be called from Excel VBA via COM interop. I've had some success setting this up using regsvr32, but having gone down that path on earlier projects, I'm ...
2 votes
1 answer
95 views

Having a very strange problem here. I'm attempting to make a .NET 8 library which will be called from Excel VBA via COM interop. I've been following these two pieces of guidance: Expose .NET Core ...
1 vote
1 answer
86 views

I've written a Windows Explorer clone, and while it's been an adventure, most of the stuff is now working fine. But, I have this problem: when I right-click an item and the Windows 11-style Explorer ...
3 votes
1 answer
106 views

I'm starting on a project which will involve calling .NET 8 code from Excel VBA. I've been following these two pieces of guidance: Expose .NET Core components to COM How to correctly create COM ...
1 vote
1 answer
188 views

I defined the following IDispatch-only interface in my C# project: [ComVisible(true)] [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)] [Guid("3532C4E8-D320-487C-8BD4-...
Gabboxl's user avatar
  • 151
2 votes
1 answer
257 views

There is a test project that shows the contents of a notepad, in perspective the contents of other window elements: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> &...
0 votes
0 answers
55 views

I have an application built with WPF using .Net framework 4.8 and windows APIs which runs as a windows application and opens an excel app (separate excel process) and from the excel app opens up a ...
2 votes
1 answer
160 views

I am automating the creation of Excel workbook with PowerShell scripts. I can create an Excel instance with either add-type -assembly Microsoft.Office.Interop.Excel $xls = new-object Microsoft.Office....
0 votes
1 answer
269 views

In C# .NET 8 given a pointer (IntPtr) to a native object implementing a COM-compatible interface and a C# interface definition, how do I convert the pointer to an object implementing such interface ...
Palo's user avatar
  • 1,121

15 30 50 per page
1
2 3 4 5
...
126

AltStyle によって変換されたページ (->オリジナル) /