Ver Mensaje Individual
  #3  
Antiguo 07-08-2014
Avatar de pacopenin
pacopenin pacopenin is offline
Miembro
 
Registrado: sep 2010
Ubicación: Asturias
Posts: 382
Reputación: 14
pacopenin Va por buen camino
Como ejemplo sencillito igual te sirve esto:

Código Delphi [-]

const
  olFolderContacts = $0000000A;
var
  outlook, NameSpace, Contacts, Contact: OleVariant;
  i, p: Integer;

....

   outlook := CreateOleObject('Outlook.Application');
   try
    NameSpace := outlook.GetNameSpace('MAPI');

    Contacts := NameSpace.GetDefaultFolder(olFolderContacts);

    for i := 1 to Contacts.Items.Count do
     begin

     ..... aquí haz lo que necesites

     end;
   finally
    Outlook.Quit;
    Outlook := UnAssigned;
   end;
__________________
http://www.gestionportable.com
Responder Con Cita