Results 1 to 3 of 3

Thread: Trouble with Calender program

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Everett,WA,USA
    Posts
    2

    Post

    Hi there,
    I got a problem with making a calender program. Basically i am given a data file which contains
    the month and the number of days it has.
    eg:- January,31
    February,29
    March,31 and so forth.
    The user inputs a year and the program should
    be able to print out a calender for the year, which would consists of month,date and day plus the holidays.Any ideas guys? Thanks.


  2. #2
    Addicted Member Smie's Avatar
    Join Date
    Jun 1999
    Location
    Columbus, OH
    Posts
    249

    Post

    Im guessing your using a calendar control... if so, you could try this: Have 3 textboxes, a button, and the calendar control:

    Sub Function Command1_Click()
    Calendar1.Year = Text1.Text
    Calendar1.Month = Text2.Text
    Calendar1.Day = Text3.Text

    End Sub

    hope this helps.......

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Everett,WA,USA
    Posts
    2

    Post

    I wish i could use the Calender function in VB, but i need to program it. I just want the logic to how to calculate the dates, day when the user key in the year. Thanks.

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