Leonardo,
If you use the TLBEXP utility, it should create a TLB that you can
import into VB6. Once you have that, you can declare your object with the
"WithEvents" modifier and you should be able to handle the object normally.
Of course, this is assuming that you are correctly attributing your
object so that it is suitable for COM interop.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
ni**************@exisconsulting.com
"Leonardo Spina" <le********************@tecnolink.it> wrote in message
news:z3********************@news2.tin.it...
I wrote a component using C# and I need to use it from a Visual Basic 6
client application.
The C# object raises an event which uses a custom delegate, but I don't
know how to catch the event in VB6.
Please help me!! ;-)