Solved

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

Posted on 2007-03-20
2
692 Views
Last Modified: 2013-11-26
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
0
Comment
Question by:corhaveman
2 Comments
 
LVL 2

Accepted Solution

by:
nicksbell earned 250 total points
ID: 18754993
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.

0
 

Author Comment

by:corhaveman
ID: 18755030
That was what I was looking for. Really simpel! Thanks
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question