C# Component for non .NET clients

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
Back
Top