VB.NET - Select a Range of Dates in a Windows Forms MonthCalendar



Selects a range of dates in a MonthCalendar control.

'Assembly: System.Windows.Forms.dll
'Namespace: System
'Namespace: Microsoft.VisualBasic
'Dim calendar AS MonthCalendar = "MonthCalendar1"
'Dim startDate AS Date = "#3/1/2005#"
'Dim endDate AS Date = "#3/21/2005#"
calendar.SetSelectionRange(startDate, endDate)

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.