Results 1 to 9 of 9

Thread: Timer1

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Location
    Sea
    Posts
    28

    Timer1

    Ok I am using timer1. I want timer1 to forward the thign they are on to form7 in 5 secs. any idea?
    -lop-

  2. #2
    Addicted Member
    Join Date
    Aug 2001
    Posts
    158
    ?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Location
    Sea
    Posts
    28
    Isn't that what a timer is used for?
    -lop-

  4. #4
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Could you re-phrase your question in English??

    -or Spanish... but we'll only understand it some of us-
    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.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Location
    Sea
    Posts
    28
    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.
    -lop-

  6. #6
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    What do you mean with "it will forward to form7"?
    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.

  7. #7
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    If you're trying to load the form7 after 5 seconds, just add this code:

    VB Code:
    1. Private Sub Timer1_Timer()
    2.    Timer1.Enabled = False
    3.    Form7.Show
    4. 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.

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Jul 2001
    Location
    Sea
    Posts
    28
    Like you were looking at form5... Then after 5 secs that form disapears and form7 pops up
    -lop-

  9. #9
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Ok, then it's
    VB Code:
    1. Private Sub Timer1_Timer()
    2.    Timer1.Enabled = False
    3.    Form5.Hide
    4.    Form7.Show
    5. 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
  •  



Click Here to Expand Forum to Full Width