User Control in C# for vb6

G

Guest

Hi,
My application requires the user control to be made in C# which we have to
use in VB6. Now I have to add some custom properties in that user control. I
added the properties in the user-control, and these properties are visible in
the "Properties" pane of that user control in VS.net but these properties are
not visible in VB6 - "properties" pane of the user control.

can anyone help me in this.


Thanks
 
G

Guest

VB6 has no concept of the .NET CLR so you will need to expose your properties
via COM. There's plenty of sample code around.
Peter
 

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