Results 1 to 4 of 4

Thread: timers

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    Launceston, Tasmania, Australia
    Posts
    44

    Post

    with the timers interval is there any way to make it longer that 65499, because the interval is something like 1 second for everything 1000 or something like that, so the max is like a bit over a minute, and with my app the user can select the interval so I want it up to about an hour is this possible?

    also how do you create short cuts?

    ------------------
    Mooose

  2. #2
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    Both of those have already been answered in VB-World. Do a search for them.

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    Launceston, Tasmania, Australia
    Posts
    44

    Post

    I could not find anything on extending the timers interval, can some put a link to that topic, or explain how to do it?

    ------------------
    Mooose

  4. #4
    Addicted Member Razzle's Avatar
    Join Date
    Jan 2000
    Location
    Berlin, Germany
    Posts
    161

    Post

    You can try this:
    Dim i&
    Private Sub Form_Load()
    i = 0
    Timer1.Interval = 60000
    End Sub

    Private Sub Timer1_Timer()
    i = i + 1
    If i >= 60 Then
    'DoSomething
    i = 0
    End If
    End Sub



    ------------------
    Razzle
    ICQ#: 31429438
    What is the difference between a raven?
    -The legs. The length is equal, especially the right one.

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