Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / August 2003

Tip: Looking for answers? Try searching our database.

ItemsCB is considered unsafe object when viewing Contacts folder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jerome Henriksen - 19 Aug 2003 10:20 GMT
Hello!

Problem:
Whenever I select Contacts or folder with contacts object I get the
warning that another program is trying to access. Outllok asks if it
should allow the program to access it for 1, 2 or more minutes. You
either click Yes or No. (I'm sure you know what dialogbox I'm refering
to.)

Explanation:
I haven't had this problem before when I installed the adapted version
of ItemsCB from MicroEye.

I have downloaded the ItemsCB sample from MicroEye and made some
changes to it suit my purpose and needs. And it worked smoothly and
fine. But all of a sudden, Outlook pops up and tells me that a program
is trying to access the Contact whenever I select the Contact folder.
Same thing goes for another folder containing the contacts object.

When I select other object folder as Inbox, Calendar, Notes, etc. No
warning appears. It is only on Contact.

This puzzles me.

I hope there is somebody who can help me with this.

If you need any information please post it.

Platforms:
Windows XP with language MUI (Danish)
Office XP
And some more softwares in it.

Best regards
Jerome
Ken Slovak - [MVP - Outlook] - 19 Aug 2003 13:47 GMT
You are running into the security in the Outlook object model guard.
It would fire when you access certain properties of a contact item, or
anything to do with contacts or a contacts folder using CDO 1.21.

You can use Redemption to bypass the security
(www.dimastr.com/redemption) and you can check out
http://www.slipstick.com/outlook/esecup.htm#autosec

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm

> Hello!
>
[quoted text clipped - 31 lines]
> Best regards
> Jerome
Jerome Henriksen - 22 Aug 2003 08:32 GMT
Thank you for the suggestion. Will be looking into it.

But I have made some changes again to the programming so it will
bypass the procedure when user select Contacts folder.

Thank you.

Best regards,
Jerome
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.