ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Avoid "MK_E_UNAVAILABLE" with a COM in Excel (https://www.excelbanter.com/excel-programming/383816-avoid-mk_e_unavailable-com-excel.html)

Torben Laursen[_3_]

Avoid "MK_E_UNAVAILABLE" with a COM in Excel
 
Hi

I have a COM written in C# that I use in Excel 2003.
Everytime I start Excel to debug the COM I get MK_E_UNAVAILABLE from my user
defined functions.
After I open a winform from the COM inside Excel the function works fine.

I guess that the problem is that the COM is not started when Excel starts.
Is there a way to solve this problem

Thanks Torben



joel

Avoid "MK_E_UNAVAILABLE" with a COM in Excel
 
Does C# have an option to create an EXE instead of a COM. COM executable
files are old fashion and not meant to run under Windows. The COM files were
use with DOS before Win 95.

"Torben Laursen" wrote:

Hi

I have a COM written in C# that I use in Excel 2003.
Everytime I start Excel to debug the COM I get MK_E_UNAVAILABLE from my user
defined functions.
After I open a winform from the COM inside Excel the function works fine.

I guess that the problem is that the COM is not started when Excel starts.
Is there a way to solve this problem

Thanks Torben





All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com