|
-
Jan 13th, 2000, 04:41 AM
#1
Thread Starter
New Member
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.
-
Jan 13th, 2000, 09:59 PM
#2
Addicted Member
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.......
-
Jan 13th, 2000, 11:53 PM
#3
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|