Hi I thought I only needed to click or double click a day on this controll to change it. Do I need to create a click event and if so (I have installed MSDN for VS2008) can I see what events are available.
Desmond.
Private Sub cmdCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCalculate.Click
Dim Days As Integer
Dim Today As DateTime = DateTime.Now
Today = Today.AddDays(30)
Days = DateDiff(DateInterval.Day, DateFrom.TodayDate, DateTo.TodayDate) ' DateTo & DateFrom are MonthCalendar
End Sub
Desmond.
Private Sub cmdCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCalculate.Click
Dim Days As Integer
Dim Today As DateTime = DateTime.Now
Today = Today.AddDays(30)
Days = DateDiff(DateInterval.Day, DateFrom.TodayDate, DateTo.TodayDate) ' DateTo & DateFrom are MonthCalendar
End Sub