Disable this warn message???

S

samer alsaleh

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
 
R

Rick Brandt

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top