Hello!!! Maybe you can help me here!
Im creating a timer for a computer rental system. I want to create a blank window that will pop automatically after 1 hour. The user cannot continue unless an authorized person will input a password.
I already created one, but sad to say it do the user can still use application program. Please help me!
Loading
Rajendra DeopuraPosted Dec 5, 2008, 1:22 AM
If you are using a Windows App. Follow the steps :
1. Drag a timer Control. Set the following properties
Enabled : true
Interval=1 * 60 * 60
2. Add an timer Tick Event.
3. Create a new Windows form having Two Labels and Two TextBoxes and a Button. Say the form name is mylogin.
4. In the timer tick event , Write the following code :
dim user as New mylogin()
user.ShowDialog()
You can validate username and password against a database on the click event of button.
I have created this project, You will still need this working project, drop me a mail at [email protected]. I will send you the project as an email attachment.
Thanks