|
-
Oct 27th, 2000, 07:13 PM
#9
Hyperactive Member
Originally posted by remiller1
Here is the code EXACTLY as it appears on the form:
Private Sub Timer1_Timer()
Timer1.Enabled = True
Timer1.Interval = 1
Label1.Caption = Format(Time, "HH:MM:SS")
If Text1.Text = Label1.Caption Then
Call ExitWindowsEx(1, 0)
End If
End Sub
still doesn't work, there is obviously something that I am overlooking that is holding this up.
I don't feel like the If statement is good...
If Text1.Text = Label1.Caption Then ???
Does Text1 contain a time to shutdown windows?
If so, try:
If Label1.Caption = Text1.Text Then
I think that is it...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|