Results 1 to 4 of 4

Thread: Method: Timers and ListViews

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2006
    Posts
    51

    Method: Timers and ListViews

    Related Topic

    Hello, i have already made a similar post, but it is sort of off the point that i would like to get across with this one, thanks...

    I have some time values in a listview, which are all in seconds.

    Hours
    Minutes
    Seconds
    1/10 seconds
    1/100 seconds
    1/1000 seconds
    1/10000 seconds

    Now what i need to have happen is that a time is stated for each item in the list view. The list view would look like this.

    Code:
     X | Y | Opt | Time(s)
    --------------------
     # | # | ### | 4.03
     # | # | ### | 61.001
     # | # | ### | 4.53
     # | # | ### | 24.023
     # | # | ### | 4.0553
     # | # | ### | 5.03
    So the way that this should run would be...
    A timer would start, at exactly 4.03 seconds an event will happen (based off of the other values)
    Then the timer would be reset to a default value of 0
    Right after the first item has gone through, the next will start.
    A timer will start and at 1 minute, 1 second, and 1 1/1000 of a second, this event will occur. (the timer again resets)

    This will continue until each even in the listview has been executed. Then which it will loop again, doing the same thing.

    I understand that the Microsoft visual basic timers only handle around 64 ms, and are very inaccurate. But in the link at the top, there is a timer that works well, i just have no clue how i would incorporate this into my plans.

    Thanks
    ~Cody Woolaver

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Method: Timers and ListViews

    Perhaps this will help Help with timers

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2006
    Posts
    51

    Re: Method: Timers and ListViews

    Sorry, but it dosnt seem to help much, the fastest time that it goes to is 50ms, i need 1/10000 of a second :S It is possible, the link in my first post was quite accurate, i just cannot get it working.

    Thanks
    ~Cody Woolaver

  4. #4

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