Accessing Outlook controls

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

Accessing Outlook controls
Can you get a reference to existing outlook form controls? 
Kelvin Box




Posts: 77
Joined: 2009-08-30

Is there any way I can get a reference to an existing control on the Outlook Appointment screen?

I would like to be able to get a reference to say the Subject text box and change the back color. Is this possible?

Cheers
Posted 30 Aug, 2009 19:04:36 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Kelvin,

Unfortunately the Outlook Object Model doesn't provide such a feature.

To get assistance with host applications’ objects, their properties, and methods as well as help info, use the Object Browser. Go to the VBA environment (in the host application, choose menu Tools / Macro / Visual Basic Editor or just press Alt+F11), press F2, select the host application (also Office and MSForms) in the topmost combo and/or specify a search string in the search combo. Select a class/property/method and press F1 to get the help topic that relates to the object.

.NET, Extended MAPI, Windows Phone & RT
Posted 31 Aug, 2009 02:41:54 Top