Question Problem With Events

Ceka

New member
Joined
Dec 10, 2010
Messages
2
Programming Experience
5-10
I have a library that i plan to release On the internet now this is my Problem its a little Command Processor that is useful In Many Online Chats Mini VS Games e.t.c. anyway There is a event 'OnCommandCall' i want to be able to handle the event From a Form and not only from my Library file. is this possible anyway?

like..
Code:
public sub LibraryAEvent(byref thisthis as blah, thisis as blah) Handles MyDLL.Eventz
end sub
[code=vb]

I made the Event Public and shared (public shared Event blahblah)
 
Any public member of a public type in your library is accessible from outside the library. If the event is Shared, the caller will have to use AddHandler to attach a method to the event.

Judging by the event handler example you have posted, you would benefit by following the Blog link in my signature and reading my post on Custom Events.
 
Back
Top