Editing Contact's Details in Outlook

M

mounil

Hi all,
I wanted to know if its possible to open up a particular contact's
details and edit the details from within my application? if so, how? I am
able to open the custom Outlook Contact Dialog; but that only allows adding
a new contact using this....

begin
try
Outlook := CreateOleObject('Outlook.Application');
NameSpace := Outlook.GetNamespace('MAPI');
NameSpace.Logon;
ContactItem := Outlook.CreateItem(OlContactItem);
ContactItem.Display;

finally
Outlook := UnAssigned;
ContactItem := UnAssigned;
end;

TIA,
Mounil.
 
S

Sue Mosher [MVP-Outlook]

Yes, you can edit an existing contact. The question is, which one? Tell us more about your application and which contact(s) you want to edit.
 
M

mounil

Hi Sue,
I was lookin at editing the outlook address book contacts. My
app loads up the contact's details into a grid. I posted this question in
another newsgroup and I found the answer..using ContactItem.Delete/Display.
Thanks a lot for your time though.

Cheers,
Mounil.

Yes, you can edit an existing contact. The question is, which one? Tell us
more about your application and which contact(s) you want to edit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top