An application should log on to Schedule+ before performing any other tasks. If Schedule+ is running in group-enabled mode, the application must also log on to a MAPI session to be able to create meetings, modify access privileges, and so on.
Your application should follow the procedures shown here:
The following sample code shows a typical initialization and deinitialization:
Dim objSession As Object
Dim objApp As Object
Dim objSched As Object
'Log on to a MAPI session.
Set objSession = CreateObject ("MAPI.Session")
objSession.Logon
'Get the user's schedule.
Set objApp = CreateObject ("SchedulePlus.Application")
objApp.Logon
Set objSched = objApp.ScheduleLogged
'Log off the MAPI session.
objApp.Logoff
'Release the objects.
Set objSession = Nothing
Set objApp = Nothing
Set objSched = Nothing