Alaska Software Inc. - Error compiling when use a property "to" on Outlook activex functions...
Username: Password:
AuthorTopic: Error compiling when use a property "to" on Outlook activex functions...
Osvaldo Luis AokiError compiling when use a property "to" on Outlook activex functions...
on Fri, 23 Jul 2010 18:06:04 -0300
Hi,

    I get an compiling error on using a outlook object like:

    oItem:= oOutlook:CreateItem( 0 )

    oiTem:to := "jj@mail.com"    This line cause Compiling Error... I 
think "TO" is reserved word...!!
    oiTem:cc := "edson@mail.com"
    ...
AUGE_OHRRe: Error compiling when use a property "to" on Outlook activex functions...
on Sat, 24 Jul 2010 17:20:15 +0200
hi,

>    I get an compiling error on using a outlook object like:
>
>    oItem:= oOutlook:CreateItem( 0 )
>
>    oiTem:to := "jj@mail.com"    This line cause Compiling Error... I

> think "TO" is reserved word...!!

so try

oiTem:SetProperty("to", "jj@mail.com" )

greetings by OHR
Jimmy
Osvaldo Luis AokiRe: Error compiling when use a property "to" on Outlook activex functions...
on Sat, 24 Jul 2010 19:05:15 -0300
Hi,

    I will try...

    Thanks
    Osvaldo


"AUGE_OHR" <AUGE_OHR*AT*WEB.DE> escreveu na mensagem 
news:585e7cd$565de4c5$30425@news.alaska-software.com...
> hi,
>
>>    I get an compiling error on using a outlook object like:
>>
>>    oItem:= oOutlook:CreateItem( 0 )
>>
>>    oiTem:to := "jj@mail.com"    This line cause Compiling Error... I
>
>> think "TO" is reserved word...!!
>
> so try
>
> oiTem:SetProperty("to", "jj@mail.com" )
>
> greetings by OHR
> Jimmy
>
AUGE_OHRRe: Error compiling when use a property "to" on Outlook activex functions...
on Sun, 25 Jul 2010 04:09:16 +0200
hi,

>>>    oItem:= oOutlook:CreateItem( 0 )
>>>    oiTem:to := "jj@mail.com"    This line cause Compiling Error... I
>>>
>>> think "TO" is reserved word...!!
>>
>> so try
>>
>> oiTem:SetProperty("to", "jj@mail.com" )

hm ... thinking about it ... i "think" it must be :

oiTem:Recipients:Add("jj@mail.com" )

greetings by OHR
Jimmy
Osvaldo Luis AokiRe: Error compiling when use a property "to" on Outlook activex functions...
on Sun, 25 Jul 2010 16:20:42 -0300
HI Auge,

    It works fine  (oiTem:SetProperty("to", "jj@mail.com" )


    Thanks,
    Osvaldo L Aoki

"AUGE_OHR" <AUGE_OHR*AT*WEB.DE> escreveu na mensagem 
news:585e7cd$565de4c5$30425@news.alaska-software.com...
> hi,
>
>>    I get an compiling error on using a outlook object like:
>>
>>    oItem:= oOutlook:CreateItem( 0 )
>>
>>    oiTem:to := "jj@mail.com"    This line cause Compiling Error... I
>
>> think "TO" is reserved word...!!
>
> so try
>
> oiTem:SetProperty("to", "jj@mail.com" )
>
> greetings by OHR
> Jimmy
>
Thomas Braun
Re: Error compiling when use a property "to" on Outlook activex functions...
on Mon, 26 Jul 2010 08:35:49 +0200
Osvaldo Luis Aoki wrote:

> Hi,
> 
>     I get an compiling error on using a outlook object like:
> 
>     oItem:= oOutlook:CreateItem( 0 )

Please, if reporting errors, always include the actual error message as
well...

Thomas