Solved

VB.net: Calling a btnClick

Posted on 2008-06-20
3
204 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
Comment Utility
Use:

    btnLogin.PerformClick()
0
 

Author Comment

by:Jimbo99999
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This is an explanation of a simple data model to help parse a JSON feed
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

744 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

17 Experts available now in Live!

Get 1:1 Help Now