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?