How can I tell if Word is being run by a user or by Outlook?

M

Mike Avery

In a c# shared add-in application in VS2005, I don't want to put up my
command bar if the Word application instance is being run by Outlook (e.g. to
edit an Email message) rather than with a UI by a user.

Any idea how to spot this? I have looked through the Word application
object properties but can't find anything obvious that might do the job

thanks

Mike
 
Top