Re: create new meeting request automatically by Stefan
Stefan
Tue Apr 15 02:32:18 CDT 2008
"Julio Carvajal" <news.dfpug.de> schrieb im Newsbeitrag
news:egG3jKrnIHA.2352@TK2MSFTNGP05.phx.gbl...
>I need create new meeting request in outlook 2003 or 2007 from VisualFox9.
> I know create, erase and update news appointments from VF9, but I can't create one new
> meeting request and send to others people for email from VF9
> Can somebody help me, please!!!
You can do something like:
oOutlook = CREATEOBJECT('Outlook.Application')
oDate = oOutlook.CreateItem(1)
oDate.Subject = "Test Appointment"
oDate.Start = DATETIME()
oDate.Location = "Bronx"
oDate.Duration = 60
oDate.Recipients.Add("test@microsoft.com")
oDate.Save()
oDate.Send()
? oDate.Recipients.Count
hth
-Stefan
--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------