How to get events from dll?
Yeah, but i dont know how use addhandler in a funtion. I'm stuck with that.
How to get events from dll?
Yeah, but i dont know how use addhandler in a funtion. I'm stuck with that.
Use the AddHandler
statement or declare a Sub
with the Handles
keyword, like you would for any event.
Are you sure your DLL exposes events, though? You'll have to look at the documentation for your DLL. In the worst case, you might need to use a tool like .NET Reflector to examine the DLL and see what events are declared in the code.