Solved

VB.net: Calling a btnClick

Posted on 2008-06-20
3
218 Views
Last Modified: 2012-06-21
Good Afternoon

Experts:

I am in need of help with my VB.net progrm.  I have a login screen that uses an xml file to load connection information to the screen.  If all 4 textboxes have data in them when the Login Form is loading, I need to have the Login button automatically be executed after displaying the Login screeen for a few seconds.

I cannot figure out how to do this.  

btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click

With that being my LoginClick, what do I have to put for sender and e to auto run the Login_Click automatically.

Thanks,
jimb099999
0
Comment
Question by:Jimbo99999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 21834741
Use:

    btnLogin.PerformClick()
0
 

Author Comment

by:Jimbo99999
ID: 21834840
Idle_Mind:

You have to be kidding me...I had no idea that was available.  Works just as I needed it to.

Appreciate the help,
jimbo99999
0
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 21834857
Hehe...you can't expect to know EVERYTHING in the .Net framework...it's just too darned big!

I'm still learning new stuff all the time...  =)
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Progress

687 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