>Hello all,
>
>I have a COM class library in VisFox 6 that I would like to use in VB and have the class raise an event that can be picked up in VB6.
>
>I'm pretty sure it's possible; but haven't a clue on the syntax to get started.
>
>Any suggestions are appreciated.
>
>TIA,
>
>Ed VanDuyne
Create your "event" as method in VFP class and call this method when it is needed to be "fired". As for VFP COM objects - capturing their events from VB is similar to capturing events from any COM object (ADO.Recordset for example)
HTH
____
Correction:
You cannot do that because VFP cannot make an event in a TLB file. All methods are exported to methods even if you implement a given interface...
Sorry for misinformation.
Regards
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!