Edit Contact Item - Disable Button

Add-in Express™ Support Service
That's what is more important than anything else

Edit Contact Item - Disable Button
 
Ed Salgado




Posts: 16
Joined: 2010-06-17
I have an EXE that interfaces with outlook contacts and am calling the Outlook editor to edit a contactitem using the following code (or something like it):

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

I would like to be able to disable most of the buttons (like Save & New). I've seen code to do this somewhere on this site, but I can't find it.

Any help would be appreciated.

Thanks!

-ed
Posted 12 Oct, 2010 16:23:02 Top
Ed Salgado




Posts: 16
Joined: 2010-06-17
As it turns out, the "Save & New" button is already disabled when I call the ContactItem.Display procedure when Modal is set to TRUE.

So... Never mind!

Thanks!

-ed
Posted 13 Oct, 2010 09:40:40 Top
Eugene Astafiev


Guest


Hi Ed,

Thank you for letting us know. Good luck with your project! :D
Posted 13 Oct, 2010 10:01:33 Top