msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Microsoft Outlook Object Library

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> MS Office Outlook
Author Message
spark77



Joined: 28 Jan 2008
Posts: 3

PostPosted: Mon Jan 28, 2008 4:24 am    Post subject: Microsoft Outlook Object Library Reply with quote

Hi,

I am trying to use “Microsoft Outlook Object Library”.

I have found a site, which mentions same.

http://support.microsoft.com/kb/310258

when I try to run the code given in above site I am getting annoying message
saying

"A program is trying to access e-mail addresses you have stored in Outlook.
Do you want to allow this?"

I would like some how, totally avoid this message from appearing on screen.

Is their any coding solution to this problem?

I have found a solution on the web http://www.add-in-express.com and also
“click yes” utility which solves this problem.

But my client doesn’t like to add any third party tool.

Any changes or modification I need to do in the code ?


Please help me.

Regards
Kamath.

Archived from group: microsoft>public>office>developer>outlook>vba
Back to top
View user's profile Send private message
Tony Jollans



Joined: 28 Jan 2008
Posts: 1

PostPosted: Mon Jan 28, 2008 12:57 pm    Post subject: Re: Microsoft Outlook Object Library Reply with quote

This is a deliberate security measure from Microsoft. You cannot avoid it
without third party software.

--
Enjoy,
Tony

"spark77" wrote in message @microsoft.com...
> Hi,
>
> I am trying to use “Microsoft Outlook Object Library”.
>
> I have found a site, which mentions same.
>
> http://support.microsoft.com/kb/310258
>
> when I try to run the code given in above site I am getting annoying
> message
> saying
>
> "A program is trying to access e-mail addresses you have stored in
> Outlook.
> Do you want to allow this?"
>
> I would like some how, totally avoid this message from appearing on
> screen.
>
> Is their any coding solution to this problem?
>
> I have found a solution on the web http://www.add-in-express.com and also
> “click yes” utility which solves this problem.
>
> But my client doesn’t like to add any third party tool.
>
> Any changes or modification I need to do in the code ?
>
>
> Please help me.
>
> Regards
> Kamath.
>
Back to top
View user's profile Send private message
spark77



Joined: 28 Jan 2008
Posts: 3

PostPosted: Mon Jan 28, 2008 5:15 am    Post subject: Re: Microsoft Outlook Object Library Reply with quote

hi Tony,

thanks for reply.

i know it is "deliberate security measure from Microsoft" .but when third
pary can fix this problem. we should also able to fix it.

i mean coding solution.

regards,
sudhir.


"Tony Jollans" wrote:

> This is a deliberate security measure from Microsoft. You cannot avoid it
> without third party software.
>
> --
> Enjoy,
> Tony
>
> "spark77" wrote in message
> @microsoft.com...
> > Hi,
> >
> > I am trying to use “Microsoft Outlook Object Library”.
> >
> > I have found a site, which mentions same.
> >
> > http://support.microsoft.com/kb/310258
> >
> > when I try to run the code given in above site I am getting annoying
> > message
> > saying
> >
> > "A program is trying to access e-mail addresses you have stored in
> > Outlook.
> > Do you want to allow this?"
> >
> > I would like some how, totally avoid this message from appearing on
> > screen.
> >
> > Is their any coding solution to this problem?
> >
> > I have found a solution on the web http://www.add-in-express.com and also
> > “click yes” utility which solves this problem.
> >
> > But my client doesn’t like to add any third party tool.
> >
> > Any changes or modification I need to do in the code ?
> >
> >
> > Please help me.
> >
> > Regards
> > Kamath.
> >
>
>
Back to top
View user's profile Send private message
Michael Bauer [MVP - Outl



Joined: 12 Aug 2007
Posts: 92

PostPosted: Mon Jan 28, 2008 5:33 pm    Post subject: Re: Microsoft Outlook Object Library Reply with quote

If you talk about VBA or an Addin, you can avoid it from OL 2003 on by using
the instrinsic application object. Third party solutions either don't avoid
the message but click the Yes button for you, or they code against
ExtendedMapi instead of the Outlook object model. You can do the latter as
well if you're familiar with C++/Delphi.

I think, this article lists all the available approaches:
http://www.outlookcode.com/d/sec.htm

--
Best regards
Michael Bauer - MVP Outlook
Synchronize Outlook Categories:


Am Mon, 28 Jan 2008 00:15:00 -0800 schrieb spark77:

> hi Tony,
>
> thanks for reply.
>
> i know it is "deliberate security measure from Microsoft" .but when third
> pary can fix this problem. we should also able to fix it.
>
> i mean coding solution.
>
> regards,
> sudhir.
>
>
> "Tony Jollans" wrote:
>
>> This is a deliberate security measure from Microsoft. You cannot avoid it
>> without third party software.
>>
>> --
>> Enjoy,
>> Tony
>>
>> "spark77" wrote in message
>> @microsoft.com...
>>> Hi,
>>>
>>> I am trying to use "Microsoft Outlook Object Library".
>>>
>>> I have found a site, which mentions same.
>>>
>>> http://support.microsoft.com/kb/310258
>>>
>>> when I try to run the code given in above site I am getting annoying
>>> message
>>> saying
>>>
>>> "A program is trying to access e-mail addresses you have stored in
>>> Outlook.
>>> Do you want to allow this?"
>>>
>>> I would like some how, totally avoid this message from appearing on
>>> screen.
>>>
>>> Is their any coding solution to this problem?
>>>
>>> I have found a solution on the web http://www.add-in-express.com and
also
>>> "click yes" utility which solves this problem.
>>>
>>> But my client doesn't like to add any third party tool.
>>>
>>> Any changes or modification I need to do in the code ?
>>>
>>>
>>> Please help me.
>>>
>>> Regards
>>> Kamath.
>>>
>>
>>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Problem With Certificates and the Outlook Object. Please Hel Hi, I am currently having a problem at work with a program we have written that monitors the Inbox of a particular email address, and when new messages come in the program extracts info from the message and saves it to a database, e.g. the body, subject,

SendReceive in Outlook Object Model Do you know what method in the outlook object model will allow me to send/receive mail on a specific account?

Newbee: Booking a resource using Outlook Object Model Hi, I am trying to figure out how to use the Outlook Object Model to book a Conference room, but it seems to be not so This is some of my VB6 code: ' Create a new appointment. Dim o

The operation cannot be performed because the object has bee I am using XLS to send mail. I am using Set OutApp = logic to create a new mail and send it over outlook. But i am facing a very weird error. I am not able to replicate this error on all the machines. When i click the b

"Completed" for a MailItem object I would like to retrieve/set the "Completed" property on a MailItem object. I can't find where these follow up properties are... Thanks in advance. --
Post new topic   Reply to topic    msoutlook.org Forum Index -> MS Office Outlook All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group