Disable this warn message???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

dear all,
good day
i tried this code by an Access Application

DoCmd.SendObject acReport, "Invoice", acFormatRTF, _
"[fax: " & ![SQNo] & "]", , , , , False

and i have microsoft Outlook 2003 ....
just i need to disable the pop-up message every time i send

"A program is trying to automatically send an e-mail message using a
Microsoft Visual Basic Application (VBA) command, Item.Send, from within
Microsoft Outlook. If you want this program to send this message, click Yes.
To stop the program, click No. If you are unsure which program is sending the
message or why the message is being sent, you should click No to help avoid
the possible spread of viruses."

i need automaticlly send the message without any warn
can any one help me plz?????

samer alsaleh
 
samer said:
dear all,
good day
i tried this code by an Access Application

DoCmd.SendObject acReport, "Invoice", acFormatRTF, _
"[fax: " & ![SQNo] & "]", , , , , False

and i have microsoft Outlook 2003 ....
just i need to disable the pop-up message every time i send

"A program is trying to automatically send an e-mail message using a
Microsoft Visual Basic Application (VBA) command, Item.Send, from
within Microsoft Outlook. If you want this program to send this
message, click Yes. To stop the program, click No. If you are unsure
which program is sending the message or why the message is being
sent, you should click No to help avoid the possible spread of
viruses."

i need automaticlly send the message without any warn
can any one help me plz?????

samer alsaleh

That message comes from Outlook/Windows, not from Access. The only way to avoid
it is to NOT use Outlook to send the message. You can use Redemption, CDO, or
other messaging libraries to send the message instead.
 
Back
Top