I have downloaded some software to bypass the
"Allow access for [1 minute] " pop-up box. However on some
clients systems this isn't possible to install (due to their
rules).
My (very basic) code is as follows :-
oOL :=
CreateObject( "Outlook.Application" )
if oOl == NIL
msgbox("Failed To
Open Microsoft Outlook","Test System")
return .t.
endif
oMail := oOL:CreateItem( 0 )
oMail:Recipients:Add( cMail )
My problem is :- if the user clicks 'NO' to not
send the email, I get the following error ;-
oError:args
:
->
VALTYPE: C VALUE: Recipients
oError:canDefault : Y
oError:canRetry : N
oError:canSubstitute: Y
oError:cargo : NIL
oError:description : Operation aborted
oError:filename : NIL
oError:genCode : NIL
oError:operation : Recipients
oError:osCode
: -2147467260
oError:severity
: 2
oError:subCode
: 6500
oError:subSystem : Automation
oError:thread
: 1
oError:tries :
NIL
Any suggestions on how to check what the user
has decided ?
Thanks
Chris