Hi Everyone,

I never did custom events and would like to make a sub procedure execute via a custom event from another form that does not have the custom event defined. For example I would like to raise the event from my ok button in one form and have the event in the other form execute.

Can you tell me how to set this up using code examples?

Thanks.

Truly,
Emad

Recommended Answers

All 2 Replies

Hi Everyone,

We decided to use a timer instead of a custom event.

I do have another question which I will start as a new thread.

Truly,
Emad

You need to define a class that publishes event, in your class methods, you can raise certain events when something is happen or not.

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.