Solved

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

Posted on 2007-03-20
2
689 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now