|
-
Jan 11th, 2002, 06:39 PM
#1
Thread Starter
Junior Member
Timer1
Ok I am using timer1. I want timer1 to forward the thign they are on to form7 in 5 secs. any idea?
-
Jan 11th, 2002, 06:41 PM
#2
Addicted Member
-
Jan 11th, 2002, 06:42 PM
#3
Thread Starter
Junior Member
Isn't that what a timer is used for?
-
Jan 11th, 2002, 06:49 PM
#4
Need-a-life Member
-
Jan 11th, 2002, 06:51 PM
#5
Thread Starter
Junior Member
Ok Im pretty new to VB.
I have added a timer. its called timer1. after 5 seconds on that form(it would be on form5 if that matters) it will forward to form7.
-
Jan 11th, 2002, 06:52 PM
#6
-
Jan 11th, 2002, 06:54 PM
#7
Need-a-life Member
If you're trying to load the form7 after 5 seconds, just add this code:
VB Code:
Private Sub Timer1_Timer()
Timer1.Enabled = False
Form7.Show
End Sub
Set the Interval property of your Timer1 to 5000
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Jan 11th, 2002, 06:54 PM
#8
Thread Starter
Junior Member
Like you were looking at form5... Then after 5 secs that form disapears and form7 pops up
-
Jan 11th, 2002, 06:56 PM
#9
Need-a-life Member
Ok, then it's
VB Code:
Private Sub Timer1_Timer()
Timer1.Enabled = False
Form5.Hide
Form7.Show
End Sub
Set the Interval property of your Timer1 to 5000
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
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
|