does anyone no how to make Visual Studio .NET wait for, let's say, 10 seconds with the timer command?
Please help.
TIMER()
-
- Posts: 59
- Joined: Sat Jul 03, 2004 2:35 am
- Location: Hmmmmmm... That's a toughie... What is "AT MY COMPUTER"?
- Contact:
-
- Posts: 773
- Joined: Tue May 04, 2004 7:14 am
- Location: Uranus
![]() |
-
- Posts: 59
- Joined: Sat Jul 03, 2004 2:35 am
- Location: Hmmmmmm... That's a toughie... What is "AT MY COMPUTER"?
- Contact:
-
- Posts: 773
- Joined: Tue May 04, 2004 7:14 am
- Location: Uranus
![]() |
Okay, so make a timer and have the interval at 1...Then make the code for the timer...
Then make it so when you click on the picture, you put...
Code: Select all
Image.Show (blah blah what sizes you want)
t= t +1
If t =11 Then
Timer1.Enabled = False
Then make it so when you click on the picture, you put...
Code: Select all
Timer1_Timer.Enabled = True
t = 0
Your image cannot exceed 400x200 or 50kb
-
- Posts: 59
- Joined: Sat Jul 03, 2004 2:35 am
- Location: Hmmmmmm... That's a toughie... What is "AT MY COMPUTER"?
- Contact:
-
- Posts: 94
- Joined: Mon Nov 15, 2004 7:01 pm
- Location: over there
i dont program in .net but i here its similar to vb6 and vb5. tryu this
1. make a timer and in the properties thingy change the interval to
100000 or 10000. one of them i 4get how much a millisecond is.
2. if u want it so when u click a button the timer starts then u shoulld set the enabled property to false and in the button u want to trigger the timers code type in assuming the timers name is timer1.
3. if u want it to happen right after the program starts then just set enabled property of the timer to True.
4. in the timers code just put watever u want to happen in and it will happen 10 seconds after the timer starts.
1. make a timer and in the properties thingy change the interval to
100000 or 10000. one of them i 4get how much a millisecond is.
2. if u want it so when u click a button the timer starts then u shoulld set the enabled property to false and in the button u want to trigger the timers code type in
Code: Select all
timer1.enabled = True
3. if u want it to happen right after the program starts then just set enabled property of the timer to True.
4. in the timers code just put watever u want to happen in and it will happen 10 seconds after the timer starts.
Signature exceeded 3 lines of text.
-
- Posts: 59
- Joined: Sat Jul 03, 2004 2:35 am
- Location: Hmmmmmm... That's a toughie... What is "AT MY COMPUTER"?
- Contact: