Hi all, I'm using visual foxpro 8 and I am trying to create an appointment in groupwise using vfp. I've gotten the appointment to land in the calendar, but the difficulty I am running into is getting the appointment alarm to work. Programatically sent alarm doesn't work, if I go to groupwise and set alarm, then it works. Also I can't seem to make accept/decline button show up for the appointment. My biggest hurdle is the alarm to flag groupwise users that the appointments needs attention. Here is the following code:
ng = CREATEOBJECT("NovellGroupwareSession"
gobj = ng.Login
msg=gobj.Calendar.Messages.Add('GW.MESSAGE.APPOINTMENT',3)
msg.fromtext='NICK PATEL'
msg.Subject='This is Appt Test from c&g'
msg.BodyText='this is an appointment'
msg.NotifyWhenDeleted=0
msg.NotifyWhenOpened=2
msg.StartDate=DATETIME(2004, 02, 13, 2, 05, 0) && stardate
msg.alarmtime=Datetime(2004,02,13,0,1,0) && alarm time
msg.Place='here'
csendto='ZZZZZZ:NICK PATEL'
snd=msg.Recipients.Add(csendto,"NGW","0"
snd.Resolve()
Any help is appreciated.
Thanks
Nick Patel
ng = CREATEOBJECT("NovellGroupwareSession"
gobj = ng.Login
msg=gobj.Calendar.Messages.Add('GW.MESSAGE.APPOINTMENT',3)
msg.fromtext='NICK PATEL'
msg.Subject='This is Appt Test from c&g'
msg.BodyText='this is an appointment'
msg.NotifyWhenDeleted=0
msg.NotifyWhenOpened=2
msg.StartDate=DATETIME(2004, 02, 13, 2, 05, 0) && stardate
msg.alarmtime=Datetime(2004,02,13,0,1,0) && alarm time
msg.Place='here'
csendto='ZZZZZZ:NICK PATEL'
snd=msg.Recipients.Add(csendto,"NGW","0"
snd.Resolve()
Any help is appreciated.
Thanks
Nick Patel