I test to use Outlook from my VO-Application. The folloing code works fine,
I can see the new mail.
Method OpenOutlook() Class BasicShellWindow
LOCAL oOutlook AS Object
LOCAL oNmsp AS Object
LOCAL oItem AS Object
oOutlook := OLEAutoobject{"Outlook.Application"}
oItem := oOutlook : CreateItem(0)
oItem:Cc := "F.Sc...@gmx.de"
oItem:Body := "Testtext"
oItem:Display()
But how can I fill the Value To ("An" in german)? When I try it with
oItem:To := "F.Sc...@gmx.de"
I got an error by compiling. What is the correct syntax??
Thanks Frank
IVarPut(oItem, #To, "F.Sc...@gmx.de")
HTH
Paul SISKA
"Frank Schädlich" <F.Scha...@gmx.de> wrote in message
news:crb6ip$ra7$00$1...@news.t-online.com...
Frank
"PAUL SISKA" <stratec...@Online.fr> schrieb im Newsbeitrag
news:41d94c5c$0$20281$636a...@news.free.fr...