com Questions
2
Solved
My ultimate objective is to build a class library (Calculator.dll) in C#, containing functions that will be made accessible to Excel via VBA.
I had hoped to avoid the need to register the dll, and ...
Parenteral asked 30/12, 2022 at 22:50
4
Solved
In my application, I'm hooking various functions for creating COM objects (such as CoCreateInstanceEx) to get notified whenever some object is created. I'm keeping track of all created objects in a...
Vorlage asked 25/5, 2011 at 7:19
2
Solved
What does the ISupportErrorInfo interface mean? I'm at a bit of a loss to understand it. From MSDN:
This interface ensures that error
information can be propagated up the
call chain correctly....
Pauperize asked 6/10, 2008 at 1:4
3
Solved
Is there a list of COM error codes somewhere?
Related: HRESULT: 0x80010105 (RPC_E_SERVERFAULT) question
Allemande asked 18/4, 2010 at 23:53
3
Solved
Why does IClassFactory::LockServer exist when it seems to me that IClassFactory::AddRef / IClassFactory::Release can accomplish the same goal?
Virgy asked 15/2, 2011 at 4:12
10
This is my code, and I found many answers for VBA, .NET framework and is pretty strange. When I execute this, Excel closes.
from win32com.client import DispatchEx
excel = DispatchEx('Excel.Applica...
5
Solved
I'm developing an application with a team in .Net (C++) and provide a COM interface to interact with python and other languages.
What we've found is that pushing data through COM turns out to be p...
Aguedaaguero asked 13/11, 2008 at 9:25
3
Solved
I have a VB6 application that uses a COM DLL. The DLL is written in C#. In the C# project properties I have checked the "Register for COM interop" option. The VB6 app works fine on my dev...
Goodfellowship asked 16/11, 2010 at 20:24
3
If I go to Settings on a Windows 10 (1803) computer, I have access to a page ("App Volume and Device Preferences") that lets me set the default input and output device for a running application.
...
Pika asked 3/9, 2019 at 20:2
3
Solved
I've had this issue for a long time now and had just ignored it out of laziness, however I now need to find a solution. I have a script which automates refreshing a large number of excel documents....
Modulate asked 8/6, 2015 at 20:3
14
Solved
Using the example provided in codeproject I am struggling to work out where I can find the reference to the library Microsoft.Office.Core.
I am getting the error "The referenced component 'Micros...
Reserpine asked 9/5, 2011 at 5:14
6
Solved
We're getting an Excel file from a client that has open protection and Write Reserve protection turned on. I want to remove the protection so I can open the Excel file with the python xlrd module. ...
7
Solved
I've written a script to search/download/install Windows Updates on a machine using the Microsoft.Update.Session COM Object. When run locally it works just fine, however when running through a remo...
Uke asked 16/8, 2011 at 13:30
2
Solved
Versions
Excel 2007, Windows Vista, VB.NET, Visual Studio 2008 with .NET 3.5 sp2, MSI setup package.
What I am trying to do
I have an Excel UDF that is written in VB.NET. It is exposed as a COM ...
Gisele asked 1/10, 2009 at 22:32
4
Solved
I know that we can use CoLoadLibrary and DllGetClassObject to get the IClassFactory interface and get the COM component interface without registering the DLL.
But what about a COM component in an ...
Greerson asked 9/7, 2010 at 9:22
11
Solved
Microsoft.Office.Interop.Excel.WorkbookClass.SaveAs() method is working fine on Windows server 2003 and also on XP but not on Windows server 2008. I copied it as it is gave all Dll's and permission...
Whitmore asked 10/12, 2010 at 11:26
7
Solved
I learn C++ and COM through the books.
In the IDE MS Visual Studio 2012 I have created new empty C++ project, and added some existing files to it. My CPP file contains #include<iostream> row,...
Hypostasis asked 3/11, 2012 at 11:3
5
My application has a feature to export to Microsoft Word, but it hasn't worked since I've upgraded from Microsoft Office 2010 to Microsoft Office 2013.
Here is the code:
Microsoft.Office.Interop...
Amaliaamalie asked 12/3, 2014 at 2:0
2
Solved
I was pleased to find that I could call structs that I had set up in vb.net straight into excel vba - using COM visible and registering using regasm.exe.
I am struggling to do the same with a dict...
Parke asked 16/5, 2015 at 1:28
3
Solved
I started with a very sophisticated system of clients and servers with COM references and other things, and I've cut down and down until I realized I can't even get Microsoft sample code to work fo...
Coagulant asked 25/11, 2015 at 21:31
3
I'm picking up some experimental code I was messing with in the Windows 7 Beta now that I've installed the RC.
Basically, I'm trying to get IAudioSessionManager2 & IAudioSessionNotification wo...
3
Solved
I have a small application which automates Microsoft Word via COM/OLE Automation.
Unfortunately this doesn't work with the virtualized Click-to-run editions of Word, because they don't have the re...
Picco asked 30/7, 2010 at 14:25
5
Solved
My Powershell (2.0) script has the following code snippet:
$fileName = "c:\reports\1.xlsx"
$xl = new-object -comobject excel.application
$xlFormat = [Microsoft.Office.Interop.excel.XlFileFormat]::...
Kiser asked 26/3, 2014 at 18:46
2
I have a managed COM object written in C# and a native COM client and sink written in C++ (MFC and ATL). The client creates the object and advises to its event interface at startup, and unadvises f...
Byblow asked 21/6, 2013 at 19:43
3
Solved
I created a new Console project in VS2012.3 (32bit exe) and added a COM Type Library reference to Microsoft Access (I tried both 2003 and 2007). The "Microsoft Access" reference shows up in the Add...
Schema asked 31/10, 2013 at 23:44
1 Next >
© 2022 - 2024 — McMap. All rights reserved.