• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 704
  • Last Modified:

How to trigger FormEvents (open, load, activate) in vb.net

Hi exfperts,

I'm an ms-access developer but new in vb.net, read some books and trying several things in vb.net.
What i can't find in .net is the way how an event is triggered when activating, opening or loading a form in vb.net.
In access there is an event OnActivate, OnOpen, Onload ... but for some reason I can' t find  anything like that in tutorials for vb.net
1 Solution
In code view in Visual Studio there are 2 dropdowns at the top of the screen (below the menu, icons and files tabs).  In the left hand dropdown under the name of the form (say Form1) there are 2 items in brackets.  One of them will be (Form1 Events).  If you select that then the right hand dropdown will contain all of the events available to you.  Included in this are the Activated and Load events.

corhavemanAuthor Commented:
That was what I was looking for. Really simpel! Thanks
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now