Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
get Subject and Description of new Appointment
posted

I need to log the new activity in users Outlook.

How can I get values of the Subject box,  Location and Description boxes when a new Appointment/Activity is added?

I can access Start and End Dates, but do not see the other fields.

This is how I get the Start Date.

  Protected Sub WebScheduleInfo1_ActivityAdded(ByVal sender As Object, ByVal e As Infragistics.WebUI.WebSchedule.ActivityEventArgs) Handles WebScheduleInfo1.ActivityAdded

 

Dim StartDate As Date = e.Activity.StartDateTime.Value

 

End Sub

Thanks,

Jakub

Parents
No Data
Reply
  • 4960
    Suggested Answer
    posted

    bilko73 said:

    How can I get values of the Subject box,  Location and Description boxes when a new Appointment/Activity is added?

    I can access Start and End Dates, but do not see the other fields.

    You need to typecast it to an Appointment.

    Dim Subject As String = CType(e.Activity, Appointment).Subject

Children
No Data