Click to See Complete Forum and Search --> : How to call a vb.net class from C#


Yeelok
February 10th, 2003, 10:08 AM
Hi,

If I have a class called Rs232 in vb.net and wish to
access that class from a form in C# how do I go about
doing this? i.e. do I have to place the Rs232.vb file in a
particular folder etc.

Thanks

pareshgh
February 10th, 2003, 01:05 PM
you could make a component and expose namespace/class/public methods in it. and use that dll by reference in c#.
that should work

Paresh