Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook issue
Message
From
04/08/2015 02:34:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Outlook issue
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01622909
Message ID:
01622909
Views:
139
I am experiencing new issue between outlook and VFP. each time vfp accesses outlook for information we are getting the following message
"A program is trying to access email address information stored in outlook......" Allow --- Deny ---- Help

It would seem that there is a solution that I found on how to disable the warning.
http://sogeeky.blogspot.ca/2007/04/how-to-disable-outlook-security-warning.html

My question is - IF this is my correct approach to resolving this problem - how would I set up a value to disable the warning. Here is the information on the website above: followed by my programming calling up outlook.

Thank you for any help you can provide.
K

The table below shows other applicable values for CheckAdminSettings.
Value What Oulook Does
Key not present Uses its default settings
0 Uses its default settings
1 Looks for settings in the Outlook Security Settings folder, applying them according to the defaults and specific users you've specified.
2 For Outlook 2002 and Outlook 2003 only: Looks for settings in the Oulook 10 Security Settings folder, ignoring any settings in the Outlook Security Settings folder. Use this value when you want Outlook 2002/2003 to use different settings
Anything else Uses its default settings
loOutlook   = Createobject('Outlook.Application') &&
loNameSpace = loOutlook.GetNamespace("MAPI")
loInBox     = loNameSpace.GetDefaultFolder(olFolderInBox)
loMsgs =   loInBox.Items
loUnread = loMsgs.Restrict("[Unread] = true")
loMess =   loInBox.Items
Next
Reply
Map
View

Click here to load this message in the networking platform