By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,327 Members | 2,627 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,327 IT Pros & Developers. It's quick & easy.

showing time out by exiting the from to users

P: 1
I need to exit the form when the allowed time is over . How I do this ?
Jul 28 '14 #1
Share this Question
Share on Google+
1 Reply


P: 5
with a button to click:
Expand|Select|Wrap|Line Numbers
  1. Public Class Form1
  2.     Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
  3.         Me.Close()
  4.         End
  5.     End Sub
  6.     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  7.         Timer1.Enabled = True
  8.     End Sub
  9. End Class
Aug 18 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.