Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Avoid "update Links" promt in e-mailed pivot tables? Michelle B Excel Discussion (Misc queries) 2 October 23rd 06 02:54 PM
Text formatted as "General" in Excel 2002. How do I avoid that? Anant Excel Discussion (Misc queries) 4 August 11th 06 09:16 PM
How to avoid "update links" startup prompt? [email protected] Excel Discussion (Misc queries) 8 July 23rd 06 04:20 AM
How to avoid "large data on clipboard" message? keith Excel Programming 4 September 25th 03 08:44 PM


All times are GMT +1. The time now is 01:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"