MonthView Sample Application

 

The following sample application is included when you purchase the Visual Basic 6 Tutorial Download Package or the Visual Basic 6 "Extra" Sample Applications from The VB Programmer.

 

This sample app displays a full year calendar, six months at a time. It enables the user to select or enter the desired year (defaulting with the current year) and enables the user to select from a list of commonly observed U.S. holidays (defaulting all in the list selected). When the "Show Holidays" button is clicked, the calendar is refreshed to show the year with the selected holidays displayed in bold. As you move your mouse over the calendar, when a bold day is encountered, a tool tip is displayed showing the name of the holiday corresponding to that day.