Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Noobie Startup Question

Status
Not open for further replies.

mikej336

MIS
Feb 10, 2005
164
US
Currently have a button on my form that I launch to start my program in motion. Instead of pushing the button I just want it to automatically run the code but I can not find and onstartup form event.

Can anyone advise me where to find it. VB.net 2003

Thanks

Mike

 
Syntax is

FormName_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load



HINT: If you double click on the form in design mode, it will take you to this procedure. Otherwise, in the lefthand dropdown at the top of the code page behind your form, go to (FormName Events). In the right dropdown, select Load.

I hope this helps.

Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.
 
No prob.

Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top