PDA

Click to See Complete Forum and Search --> : Trouble with Calender program


vghc
Jan 13th, 2000, 03:41 AM
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.

Smie
Jan 13th, 2000, 08:59 PM
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.......

vghc
Jan 13th, 2000, 10:53 PM
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. :)