Results 1 to 2 of 2

Thread: My stopwatch in vb

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2012
    Posts
    142

    My stopwatch in vb

    Hey guys, so I made this stopwatch and posted on youtube how to make it.
    But I wanted to know if my way of making the double digits like in 00:00:07 instead of 0:0:7 is the best solution.
    Stopwatch Tut
    Thanks a lot

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: My stopwatch in vb

    If you are using a Stopwatch object, getting a TimeSpan from its Elapsed property, calling its ToString method and passing a format string then yes, otherwise no.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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