> Hi Frank
> Try with
> IVarPut(oItem, #To, "F.Schl...@gmx.de")
> HTH
> Paul SISKA
> "Frank Schädlich" <F.Schaedl...@gmx.de> wrote in message
> news:crb6ip$ra7$00$1@news.t-online.com...
>> Hi,
>> 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.Schl...@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.Schl...@gmx.de"
>> I got an error by compiling. What is the correct syntax??
>> Thanks Frank