adding appointment programmitically using vbscript

  • Thread starter Thread starter Vikram
  • Start date Start date
V

Vikram

i want to generate a vbscript file by which user can add appointment to its
outlook calendar. how can i generate this file, what code will be written to
achieve this task
 
set App = CreateObject("Outlook.Application")
set NS = App.GetNamespace("MAPI")
NS.Logon
set Item = App.CreateItem(1) 'olAppointmentItem
Item.Subject = "test appointment"
Item.Start = #12/2/2005#
Item.Save

start by looking at http://www.outlookcode.com

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top