PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Calendar of a Lotus Notes or Outlook messaging
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Adds an appointment:
  • WINDEV into the calendar of a Lotus Notes or Outlook messaging. The Appointment structure is used to define the data of this contact.
    Reminder: This function cannot be used to add an appointment into the calendar of an Outlook Express messaging.
WINDEV
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"email/julia.nsf", "C:\Lotus Notes\julia.id")
// Initialize the variables of the Appointment structure
AppointmentReset()
// Fill the variables for the new appointment
mAppointment.Subject = "Sales meeting"
mAppointment.StartDate ="20070125100000"
mAppointment.Location = "Room 3B"
mAppointment.NbParticipant = 3
mAppointment.Participant[1] = "Robert"
mAppointment.Participant[2] = "Lucas"
mAppointment.Participant[3] = "Stephen"
// Add the appointment
IF AppointmentAdd(SessionID) = True THEN
Info("Appointment added")
ELSE
Error("Error during the addition", ErrorInfo())
END
Syntax

Adding an appointment into the calendar of a Lotus Notes ou Outlook messaging Hide the details

<Result> = AppointmentAdd(<Session identifier>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To find out the error details, use ErrorInfo.
<Session identifier>: Integer
Identifier of session to use. This identifier is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Remarks
WINDEVUser code (UMC)

Calendar of a Lotus Notes or Outlook messaging

  • When creating an appointment with reminder in Outlook, the reminder is immediately displayed regardless of the appointment date.
  • The added appointments are "meeting" appointments (instead of "appointment" appointments). To modify the type of appointment, all you have to do is modify the "AppointmentType" control of the created appointment (with NotesModifyItem for example).
    The different possible values for the types are as follows:
    • "0": appointment
    • "1": anniversary
    • "2": event
    • "3": meeting
    • "4": reminder
    Example:
    NotesModifyItem(ID, "AppointmentType", "0")
  • Versions 18 and later
    In Outlook, the management mode of contacts/participants can be specified when starting the session (EmailStartOutlookSession or OutlookStartSession).
    New in version 18
    In Outlook, the management mode of contacts/participants can be specified when starting the session (EmailStartOutlookSession or OutlookStartSession).
    In Outlook, the management mode of contacts/participants can be specified when starting the session (EmailStartOutlookSession or OutlookStartSession).
Component : wd250com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment