A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Avoid outlook security warning message.



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 11th 07, 01:47 PM posted to microsoft.public.outlook.program_forms
ashish taralekar
external usenet poster
 
Posts: 1
Default Avoid outlook security warning message.

Hi,
I am using word mail merge function through vb.net. The code is as
shown below.

With wordapp.ActiveDocument.MailMerge
.Destination =
Word.WdMailMergeDestination.wdSendToEmail
.SuppressBlankLines = True
With .DataSource
.FirstRecord =
Word.WdMailMergeDefaultRecord.wdDefaultFirstRecord
.LastRecord =
Word.WdMailMergeDefaultRecord.wdDefaultLastRecord
End With
wrdMailMerge.MailSubject = "Mail Merged Document."
wrdMailMerge.MailAddressFieldName = "Email_Address"
.Execute(Pause:=False)
End With

but, when i execute this function the outlook gives me security
warning message "A program is trying to access email addresses you
have stored in outlook. Do you want to allow this?"

Please give me the solution for avoiding this message.


Thanks,
Ashish Taralekar.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security warning Christian Goeller Outlook - General Queries 6 March 22nd 07 03:13 PM
Attachment Security Warning Ibentusa Outlook - Installation 1 June 8th 06 02:24 PM
Outlook 2007: Disable Security Certificate Warning Chase Outlook - General Queries 8 June 7th 06 08:56 AM
How to disable security warning? Richard Lewis Haggard Outlook - General Queries 2 April 4th 06 04:07 PM
Internet Security Warning.... Jeff Outlook Express 3 March 29th 06 08:13 PM


All times are GMT +1. The time now is 05:08 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.