I am having a problem with my code. I am using VB.NET and Visual Studio 2010 to write my program. The source of the control that I am using can be found here.
First, I imported the Calendar.DayView.dll file into my toolbox to use as a control. Then I added the following code to my existing code:
Private Sub DayView1_NewAppointment(ByVal sender As System.Object, ByVal args As Calendar.NewAppointmentEventArgs)
Dim appointment As New Calendar.Appointment()
appointment.StartDate = args.StartDate
appointment.EndDate = args.EndDate
appointment.Title = args.Title
appointments.Add(appointment)
End Sub
I get this error 'Title' is not a member of 'Calendar.Appointment'.
I have no access to the Calendar namespace or the Appointment class. I am able to view the properties of both in the Object Browser but I can't edit any of them.
Any suggestions?