View Single Post
  #3  
Old November 15th 07, 11:42 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Acces to Outlook Email contact address

See http://www.outlookcode.com/article.aspx?ID=52 for your options with regard to the "object model guard" security in Outlook 2000 SP2 and later versions.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"kaos" wrote in message ...
Hi, I use this code in visual basic to acces to the contact information

Dim oItems As Outlook.Items
Set oItems = cContacts.Items

Dim oCt As Outlook.ContactItem

Set oCt = oItems.GetFirst

var= oCt.Email1Address

But it appear a prompt message that required the autorization to do this,
how can I avoid this mesagges?? Its possible???

Ads