How To Make Month as a Text
Hi Genius !!!!!
i'm creating a schedule program that is part of my project.
i want to make a Month (Like MonthCalender control) with specified date as a [RTF] text file, means want to save a RTF file like
if customer select a day[ie 10] in a month calender output should be
Sun Mon Tue Wed Thurs Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
.....
can anyone guide me to create codes i duno from where can i start?...
Thanks
Re: How To Make Month as a Text
So you want to..
Have a UI where the user selects the month and day.
Then with that input, output the below into an RTF.
Quote:
Sun Mon Tue Wed Thurs Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
First off, as an example how will you account for December the 1st not being a Sunday?
Secondly, the only way you wish to highlight the selected field in the RTF is by bolding the characters?
Lastly, why create such a clunky way of dealing with a date?
Re: How To Make Month as a Text
So what's wrong with the MonthCalendar control? Why re-invent the wheel?
-tg
Re: How To Make Month as a Text
I will thank everyone to keep a civil tongue.
If you feel a post is inappropriate DO NOT respond to it....report it and we will take care of it.
A few, how shall I politely put it, "off topic" posts have been removed from this thread. I trust that such actions will no longer be necessary.
If anyone has something constructive to add to this thread by all means do so....if not, please don't.