C# Component for non .NET clients

G

Guest

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.
 

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