0
Answer

How to hook up with VB6 Events via event handlers from C#

Ask a question
Justice Liu

Justice Liu

20y
1.5k
1
Hi everyone, We have a VB COM component written in VB6 with no access to its source code. We tried to register our C# event handlers with its exposed VB6 events via the CreateDelegate() method from C# and failed to do that. Could anyone shed some lights on how-to's and/or where to look for information on accomplishing this task? Or is this possible? Thanks in advance for your kind help. Best Regards, Justice Liu