Solved

VB.net: Calling a btnClick

Posted on 2008-06-20
3
215 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
  • 2
3 Comments
 
LVL 85

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 85

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to remove duplicate code from my project 5 47
Selenium: Transitioning from unit testing to automated testing 4 54
Survey branching tutorial 11 36
Java array 10 53
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…

679 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