Solved

VB.net: Calling a btnClick

Posted on 2008-06-20
3
216 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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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 …

732 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