+ Reply to Thread
Results 1 to 2 of 2

Thread: visual basic 2008, making a countdown

  1. #1
    cursedpsp is offline x10 Sophmore cursedpsp is an unknown quantity at this point
    Join Date
    Apr 2008
    Location
    Wiltshire, England
    Posts
    238

    visual basic 2008, making a countdown

    I want to make a countdown to christmas or a specific date.

    Any ideas on actually how i do it? - ive got a sort of idea but its not clear...
    Edit:
    Well i have sort of an idea now.

    I use day of year to get the day of year, then i do some calculations to get the destination day of year. Then i take that date, or add it - depending on the year. And now im stuck.
    Last edited by cursedpsp; 10-05-2008 at 01:27 PM. Reason: Automerged Doublepost

  2. #2
    MasterMax1313's Avatar
    MasterMax1313 is offline x10Hosting Member MasterMax1313 is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    84

    Re: visual basic 2008, making a countdown

    Quick suggestion here, use a DateTime object store the time you're counting down to (.add methods), then use object - DateTime.Now to get a TimeSpan object of the difference, then pull off the days, hours, minutes, seconds, milliseconds to get the time left.
    If you found this helpful, don't be afraid to add to my rep
    ____________________________

    There are only 10 types of people in this world...

    Those who understand binary,
    And those who don't

+ Reply to Thread

Similar Threads

  1. Visual Basic 2008 Express
    By richm8026 in forum Programming Help
    Replies: 2
    Last Post: 01-06-2009, 08:13 AM
  2. Visual Basic 2008, windows media player help.
    By cursedpsp in forum Programming Help
    Replies: 3
    Last Post: 10-10-2008, 07:12 AM
  3. Controles visual Basic 2008 express gratuitos
    By comutech in forum General
    Replies: 0
    Last Post: 07-14-2008, 09:28 AM
  4. A simple Visual Basic Login Form
    By Zenax in forum Tutorials
    Replies: 0
    Last Post: 03-13-2007, 08:59 AM
  5. Visual Basic for Free?
    By AsPeRiTy in forum Scripts & 3rd Party Apps
    Replies: 9
    Last Post: 08-15-2005, 08:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers