471,627 Members | 1,605 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

C# Component for non .NET clients

Using C# Express, I am able to create a DLL that is usable by non .NET
clients such as Excel.
// Create a late bound instance, works
Set CDLL = CreateObject("ClassLibrary1.Class1")
// Call a method in it, works
CDLL.MyMethod

That is, all the methods are exposed. However, none of the properties within
the DLL are exposed (are visible) and neither are the events.

How do I expose the Properties & Events?

Thanks for your help.
Jan 11 '06 #1
2 1180
"AA2e72E" <AA*****@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
How do I expose the Properties & Events?


http://www.codeproject.com/csharp/com_object_in_c_.asp
Jan 11 '06 #2
Thanks Mark.

I also found this useful:

http://www.codeproject.com/dotnet/nettocom.asp

"Mark Rae" wrote:
"AA2e72E" <AA*****@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
How do I expose the Properties & Events?


http://www.codeproject.com/csharp/com_object_in_c_.asp

Jan 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Plantex | last post: by
1 post views Thread by Ambush | last post: by
7 posts views Thread by Joe | last post: by
1 post views Thread by Lucy Luo | last post: by
3 posts views Thread by iyengar.sheshadri | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.