Using either:
Private Sub myInspector_NewInspectr(ByVal Inspector As Outlook.Inspector)
or
Application_ItemLoad(ByVal Item As Object)
I need to find out if Inspector.CurrentItem
or the Item
loaded are opened from inside of outlook (by clicking an email) or by openning a .msg or .oft file saved somewhere.
I also need to find out the name of the file and the path to it.
Is there a way to do that?
You cannot do that. More than that, recent (Outlook 2007 and newer) versions first create a temporary message in the primary store first when you double click on an MSG file.,