Results 1 to 4 of 4

Thread: Is this possible with a date currently in my database?.

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2004
    Posts
    1,202

    Is this possible with a date currently in my database?.

    Hey Guys,

    Is it possible for my program to have a date picker and if i save the date that i choose how do i get it to show a message box on the date that i choose going by the computer day on the bottom right cornor?.

    If it's possible how would i go about doing this?.
    come back and mark your original post as resoved if your problem is fixed

    Jamie Garland

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

    Re: Is this possible with a date currently in my database?.

    When you start the app, get the date from the database. Check whether that date is today and, if it is, display the message. If it's not, start a Timer with an appropriate Interval such that it will raise its Tick event at the right time. A Timer has a maximum Interval of just over 24 days. If your date is more than 24 days in the future then you simply check the date when the Timer Ticks you can reset the Interval if needs be.
    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

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2004
    Posts
    1,202

    Re: Is this possible with a date currently in my database?.

    I am making a special program for called Budget Manager! It might come out in a few days after I finish some little features up.

    A problem I have is I want on ButtonClick for it to add up all the money which is put into the column (Price) in a listview.

    Ex.

    Pie $14.00
    Chocolate $1.49

    Calculate Money Spent

    You've spent $15.49!
    come back and mark your original post as resoved if your problem is fixed

    Jamie Garland

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

    Re: Is this possible with a date currently in my database?.

    Quote Originally Posted by Jamie_Garland View Post
    I am making a special program for called Budget Manager! It might come out in a few days after I finish some little features up.

    A problem I have is I want on ButtonClick for it to add up all the money which is put into the column (Price) in a listview.

    Ex.

    Pie $14.00
    Chocolate $1.49

    Calculate Money Spent

    You've spent $15.49!
    What has that got to do with the topic of this thread? One thread per topic and one topic per thread please.
    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