Avoid "MK_E_UNAVAILABLE" with a COM in Excel

T

Torben Laursen

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
 
J

Joel

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top