Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Launch and minimize MS OUTLOOK programatically

Status
Not open for further replies.

JWilsonny

Programmer
May 8, 2001
46
US
I need to ensure that MS Outlook is running minimized. Users sometimes shut it down. I thought I would check it programatically every minute or so, but how do I launch and then minimize it in my code. (using it for program generated e-mail)
 
JWilsonny,

You could use ShellExecute() to launch it minimised -- see:
for more information.

However, I'm not sure that you need to do that. If you just want to create and send mail messages, I believe you can do that programmitically even if Outlook is not running (not 100% sure of that).

Mike


Mike Lewis
Edinburgh, Scotland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top