473,851 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with outlook Access "allow access e-mail addresses"

Hello,
I have developed a Access application that needs to read mail from
Outlook, versions on Access and outlook are 2003. In the code i use
mapi to connect to outlook. When i tries to read the subject of a
message outlook displays "A program is trying to access e-mail
adresses you have stored in Outlook. Do you want to allow this."
And then i can allow access for max 10 minutes.
My application is use scheduled statupm creating reports without
man-macine interferance so i need to disable this message.

I have tried with modifiing registry
KEY_CURRENT_USE R\Software\Micr osoft\Office\10 .0\Outlook\Secu rity
(change 10.0 to 9.0 for Outlook 2000 SP3 or to 11.0 for Outlook 2003)
Under that key, add a new string value named Level1Remove. and added .
mdb
but this doesn't work.

I would prefer a solution where I can change the application or change
some registry settings, that only affects access applications. The last
resort would be to install a program that disconnects the security for
all types of programs.

Thanks Mikael Sjoeblom

Following are cut outs of the application.

Public Sub OutlookReadNewM ail(intComputer Group As Integer)
On Error GoTo Err_OutlookRead NewMail

Dim olApp As OutLook.Applica tion
Dim Olmapi As OutLook.NameSpa ce
Dim Olfolder As OutLook.MAPIFol der
Dim olMail As Object 'Have to late bind as appointments e.t.c screw it
up
Dim OlItems As OutLook.Items
..
..
..

'Create a connection to outlook
Set olApp = CreateObject("O utlook.Applicat ion")
Set Olmapi = olApp.GetNamesp ace("MAPI")
..
..
..

Set OlItems = Olfolder.Items

'For each mail in the collection check the subject line and process
accordingly
For Each olMail In OlItems
If olMail.UnRead = True Then
olMail.Body ' This line activates trying
to access e-mail adressess
' Can't understand why
because it is the body
' not the e-mail adressess.

..
..
..

Mar 22 '06 #1
2 10530
On 22 Mar 2006 03:32:58 -0800, "mi*********@ho tmail.com"
<mi*********@ho tmail.com> wrote:

AFAIK the message can only be disabled if Outlook is running through exchange
server. This *feature* has virtually made Outlook useless as a mail client for
automated emails. (Some would say it always was).

Hello,
I have developed a Access application that needs to read mail from
Outlook, versions on Access and outlook are 2003. In the code i use
mapi to connect to outlook. When i tries to read the subject of a
message outlook displays "A program is trying to access e-mail
adresses you have stored in Outlook. Do you want to allow this."
And then i can allow access for max 10 minutes.
My application is use scheduled statupm creating reports without
man-macine interferance so i need to disable this message.

I have tried with modifiing registry
KEY_CURRENT_US ER\Software\Mic rosoft\Office\1 0.0\Outlook\Sec urity
(change 10.0 to 9.0 for Outlook 2000 SP3 or to 11.0 for Outlook 2003)
Under that key, add a new string value named Level1Remove. and added .
mdb
but this doesn't work.

I would prefer a solution where I can change the application or change
some registry settings, that only affects access applications. The last
resort would be to install a program that disconnects the security for
all types of programs.

Thanks Mikael Sjoeblom

Following are cut outs of the application.

Public Sub OutlookReadNewM ail(intComputer Group As Integer)
On Error GoTo Err_OutlookRead NewMail

Dim olApp As OutLook.Applica tion
Dim Olmapi As OutLook.NameSpa ce
Dim Olfolder As OutLook.MAPIFol der
Dim olMail As Object 'Have to late bind as appointments e.t.c screw it
up
Dim OlItems As OutLook.Items
.
.
.

'Create a connection to outlook
Set olApp = CreateObject("O utlook.Applicat ion")
Set Olmapi = olApp.GetNamesp ace("MAPI")
.
.
.

Set OlItems = Olfolder.Items

'For each mail in the collection check the subject line and process
accordingly
For Each olMail In OlItems
If olMail.UnRead = True Then
olMail.Body ' This line activates trying
to access e-mail adressess
' Can't understand why
because it is the body
' not the e-mail adressess.

.
.
.


Wayne Gillespie
Gosford NSW Australia
Mar 22 '06 #2
Wayne Gillespie wrote:
On 22 Mar 2006 03:32:58 -0800, "mi*********@ho tmail.com"
<mi*********@ho tmail.com> wrote:

AFAIK the message can only be disabled if Outlook is running through exchange
server. This *feature* has virtually made Outlook useless as a mail client for
automated emails. (Some would say it always was).
Hello,
I have developed a Access application that needs to read mail from
Outlook, versions on Access and outlook are 2003. In the code i use
mapi to connect to outlook. When i tries to read the subject of a
message outlook displays "A program is trying to access e-mail
adresses you have stored in Outlook. Do you want to allow this."
And then i can allow access for max 10 minutes.
My application is use scheduled statupm creating reports without
man-macine interferance so i need to disable this message.

I have tried with modifiing registry
KEY_CURRENT_U SER\Software\Mi crosoft\Office\ 10.0\Outlook\Se curity
(change 10.0 to 9.0 for Outlook 2000 SP3 or to 11.0 for Outlook 2003)
Under that key, add a new string value named Level1Remove. and added .
mdb
but this doesn't work.

I would prefer a solution where I can change the application or change
some registry settings, that only affects access applications. The last
resort would be to install a program that disconnects the security for
all types of programs.

Thanks Mikael Sjoeblom

Following are cut outs of the application.

Public Sub OutlookReadNewM ail(intComputer Group As Integer)
On Error GoTo Err_OutlookRead NewMail

Dim olApp As OutLook.Applica tion
Dim Olmapi As OutLook.NameSpa ce
Dim Olfolder As OutLook.MAPIFol der
Dim olMail As Object 'Have to late bind as appointments e.t.c screw it
up
Dim OlItems As OutLook.Items
.
.
.

'Create a connection to outlook
Set olApp = CreateObject("O utlook.Applicat ion")
Set Olmapi = olApp.GetNamesp ace("MAPI")
.
.
.

Set OlItems = Olfolder.Items

'For each mail in the collection check the subject line and process
accordingly
For Each olMail In OlItems
If olMail.UnRead = True Then
olMail.Body ' This line activates trying
to access e-mail adressess
' Can't understand why
because it is the body
' not the e-mail adressess.

.
.
.

Wayne Gillespie
Gosford NSW Australia

Search for freeware "Express click YES"

Bob
Mar 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2032
by: Sean Anderson | last post by:
It seems I lack an understanding of varible (sorry, field) scope and need human feedback. I have read 5 books on java and everything in the help of my development tool says this should work fine, here are the details: TextEdit package Public TextEdit class Public TextEdit() method invokes Frame1 Public Static main(String args)
0
5058
by: Bob Sanford | last post by:
I am working with php scripting under an apache-based web service in Windows. The "allow service to interact with desktop" feature is NOT checked for this service, and I don't want it to be. But I want an executable that I run from my script to be able to create a new process (using CreateProcess) where the new process CAN interact with the desktop (pop up a message box, etc...). I am hoping to do it by somehow modifying the settings and flags...
3
4315
by: Prince Kumar | last post by:
When running LOAD with "ALLOW READ ACCESS", I get the following error if select is running againt the table (isolation UR). load.sql --------- db2 load from /u02/data/dly_d040817_test.dat of asc \ modified by implieddecimal nullindchar=Y \ fastparse anyorder \ METHOD L \(01 10,11 12,13 15,16 24,25 28,29 48,49 64\) \ MESSAGES /u02/load/msg/auth_detail.msg \
8
3813
by: John A Grandy | last post by:
tools > options > debugging > edit and continue by default, the option "allow me to edit vb files while debugging" is checked for c#, but unchecked for vb.net .... ? does anyone know why this is ?
1
1441
by: Redstone | last post by:
I have a frontend with some fairly complicated forms (lots of tabs). It took me some time to figure out - but when I set the "Allow Additions" attribute to "No" the form takes 45 seconds to open. When I set the attribute back to "Yes" it only takes 5 seconds. I'm thinking this attribute must be interacting with another attribute. Could that be it or is it something else?
9
1807
by: mvsguy | last post by:
I'm a Notes admin tasked with fixing an Access problem. I hope someone will be gracious enough to help. The database is getting a 3420, object not defined, and I need to find all the places where the object is referenced. In Notes, I'd just get a synopsis which shows all executable lines of code in the entire database. Does Access have a similar function?
5
4202
by: Craig | last post by:
Hi folks, I like the idea of being able to link an Access database to Microsoft Outlook, but I'm wondering: 1.) If I do this, what happens to the e-mail attachments (I'll bet they get dropped)? If so... 2.) Is there any way to "strip" the attachment, and save it to a pre-designated location?
1
8070
by: =?Utf-8?B?R2FuZXNoIE11dGh1dmVsdQ==?= | last post by:
Hello All, Our application write logs to a file in a folder. Before our application starts writing to that file, I want to check if the current user has write access to that file, for example, "c:\temp\LogFile.txt". I see several articles for setting file access permissions, getting file access permissions for a given user or current user - but the current user could also gain write access to the same file not just by explicit permssion...
5
2233
by: martin DH | last post by:
Morning, Here's my problem: I have a field (ResFileLocation) on a form (frmResolution) that inserts a record-specific value (record ID, date stamp, etc) through vba when it has gained focus. To help clarify, here is the basic code I am looking at: Private Sub ResFileLocation_GotFocus() Me!ResFileLocation = "Forms!!NoticeID & "R_" & Left(Date, 2) & Mid(Date, 4, 2) & Right(Date, 4) End Sub
2
4009
by: dstork | last post by:
Anyone know how to rename the "Exit Access" command at the bottom of the Office menu. I'd like to rename it to "Exit" as I had done in previous versions of Access. I know I can disable it with <commands> <command idMso="FileExit" enabled="false"/> </commands> .... but what about renaming it?
0
9897
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11019
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10670
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10728
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9506
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7906
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5736
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.