Programmatically C# add shortcut OL2007

P

Paulem0071

Anyone have an example of how to add an Outlook 2007 shortcut programatically
with C#

Have tried to get to it via this.ApplicationObject.ActiveExplorer.Panes with
no luck.

I have identified the OutlookBarShortCut object, but not sure how to apply it.


Thanks a lot
 
K

Ken Slovak - [MVP - Outlook]

If you get the OutlookBarShortcuts collection it has an Add() method that
lets you add a new shortcut to the collection. See the Outlook VBA Object
Browser for information about that method.
 
Top