hi all, i'm new to vb 2005 and i was trying to populate a set of labels with the dates from a monthcalender control. basicly i want something like the calendar in outlook. can anyone lead me in the right direction? thanks in advanced.
Not sure what you ask, but I think perhaps the MonthCalendar.GetDisplayRange method or maybe properties SelectionRange or BoldedDates? Have a look at the list of MonthCalendar members.
I don't think you need the MonthCalendar control at all, unless you need it for some special purpose (which I know nothing of).
The Date data type will provide you with the requested information. The shared Date.DaysInMonth function will tell you how many days there is of given month/year. An instance of a Date set to the first date in given month/year will give you the day of week through the DayOfWeek property.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.