Hello every one

I have referred DLL in my project. I have to handle the event from DLL in VB.net code.
Can any one help me out in this regard?
I guess we can do using WithEvents.
Can you give me complete picture?
Thanks a lot.

Recommended Answers

All 2 Replies

>I guess we can do using WithEvents.

Of course, Yes. Another way to handle events is AddHandler/RemoveHandler statement

>I guess we can do using WithEvents.

Of course, Yes. Another way to handle events is AddHandler/RemoveHandler statement

Thanks for your reply. Till now i was using WithEvents which was giving me some error. Then i have used AddHandler which is working fine now.
Thanks a lot for your time.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.