Results 1 to 4 of 4

Thread: gettickcount

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    england
    Posts
    87

    gettickcount

    How do i actually run a timer for my program.

    I want to count in seconds but i do not know how to use gettickcount.

    someone teach me please ?

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    england
    Posts
    87
    What i actually need is some sort of clock running on my form.
    something like a timer counting up or down in seconds or miliseconds.
    any idea ?

  3. #3
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Lightbulb

    http://vbapi.com/ref/g/gettickcount.html

    here u can found an example..

    Jim.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    GetTickCount isn't used as a timer. Its purpose is to retrieve the number of milliseconds that have elapsed since Windows was started.

    You could either use the built in Timer control, and take a look at the SetTimer API.

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