Running exe's from a custom button???

J

Jerry Haynes

I want to create a custom button in Outlook 2003 that will open an
executable on my harddrive. How do I do that?

Secondly, in my dotnet, app, I neeed to talk to Outlook and ask it for the
currently selected, or open Contact record to get Name, Address, etc...

Thanks in advance,
Jerry
 
K

Ken Slovak - [MVP - Outlook]

Explorer.Selection contains all selected items in the current folder view.
ActiveInspector.CurrentItem is the currently open active item.

You can run a program from your macro that's called from your button using
Shell or Windows Scripting or something like that. See
http://www.outlookcode.com/d/code/formontoolbar.htm for information on
putting macro code in a button.
 
Top