Running exe's from a custom button???

  • Thread starter Thread starter Jerry Haynes
  • Start date Start date
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
 
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.
 

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

Back
Top