How to get the path from an outlook.Inspector

  • Thread starter Thread starter blackjazz
  • Start date Start date
Status
Not open for further replies.
B

blackjazz

When I open a outlook message in the windows explorer, my office plug-in will

be started with outlook application. I register my event handler for

Outlook.Application.Inspectors.NewInspector. And try to get the full path of

the message file in the handler function. I want to know where this message

file comes.

But I have no idea about how to get the full path. Does anyone meet the same

problem?
 
Once the item is opened in Outlook there's nothing in the object model that

would tell you where it originally was stored as a file.

"blackjazz" <blackjazz> wrote in message

news:61D09A9A-A30F-45AF-A13C-38F71BBEA348@microsoft.com...
> When I open a outlook message in the windows explorer, my office plug-in
> will
> be started with outlook application. I register my event handler for
> Outlook.Application.Inspectors.NewInspector. And try to get the full path
> of
> the message file in the handler function. I want to know where this
> message
> file comes.
> But I have no idea about how to get the full path. Does anyone meet the
> same
> problem?
 
Thanks! So I have to get the full path of a message file through other ways.
wrote:


> Once the item is opened in Outlook there's nothing in the object model that
> would tell you where it originally was stored as a file.

> >

>

> "blackjazz" <blackjazz> wrote in message
> news:61D09A9A-A30F-45AF-A13C-38F71BBEA348@microsoft.com...
> > When I open a outlook message in the windows explorer, my office plug-in
> > will
> > be started with outlook application. I register my event handler for
> > Outlook.Application.Inspectors.NewInspector. And try to get the full path
> > of
> > the message file in the handler function. I want to know where this
> > message
> > file comes.
> > But I have no idea about how to get the full path. Does anyone meet the
> > same
> > problem?


> .
>
 
So if I want to locate the message file which is from local disk. How?

Thanks!
wrote:


> Once the item is opened in Outlook there's nothing in the object model that
> would tell you where it originally was stored as a file.

> >

>

> "blackjazz" <blackjazz> wrote in message
> news:61D09A9A-A30F-45AF-A13C-38F71BBEA348@microsoft.com...
> > When I open a outlook message in the windows explorer, my office plug-in
> > will
> > be started with outlook application. I register my event handler for
> > Outlook.Application.Inspectors.NewInspector. And try to get the full path
> > of
> > the message file in the handler function. I want to know where this
> > message
> > file comes.
> > But I have no idea about how to get the full path. Does anyone meet the
> > same
> > problem?


> .
>
 
That depends on what language and development platform you are using. If you

have no idea where the file was stored you will need to recursively search

everywhere in the file system. That sort of code is completely out of scope

for an Outlook group. Try asking in an appropriate language or platform

group and make sure to provide enough information so someone can answer you.

"blackjazz" <blackjazz> wrote in message

news:B9EAD8A2-215B-4F4B-8CCE-7CCC8AD675A8@microsoft.com...
> So if I want to locate the message file which is from local disk. How?
> Thanks!
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A Outlook VBA - moving mail item to public folder using variable within path Using Outlook 6
D RE: How do you change the default insert file path in outlook? Using Outlook 11
A How to change mail path in outlook Outlook VBA and Custom Forms 7
N error when copying outlook data "can not copy: the path too deep" Using Outlook 6
S How to get the actual Public Folder path from Favourites Folders Outlook VBA and Custom Forms 3
Witzker Outlook 2019 HELP to get Template Path in a Function Outlook VBA and Custom Forms 2
B BCC issues after changing root folder path for gmail Using Outlook 1
R VBA | Chosing path to save file Outlook VBA and Custom Forms 1
G [Help] Converting array to destination folder path Outlook VBA and Custom Forms 1
Frédéric Save E mail using different path. Outlook VBA and Custom Forms 24
H "Advanced find: column for full folder path? Using Outlook 1
C Force account selection - no reg path nor can create one Using Outlook 9
T Contacting <Server Name and Path> for Information When Adding Attachments Using Outlook 0
Z how to change the path of all my .PST files? Using Outlook 1
K Get folder path where an account stores messages Outlook VBA and Custom Forms 5
A Eseutil File Dump fails in the path to the file is too long... Exchange Server Administration 2
A path of documents can't be found BCM (Business Contact Manager) 1
S Script w/relative path that sends absolute path to a folder to theclipboard? Outlook VBA and Custom Forms 3
C I don't understand Outlook or Microsoft, anymore Using Outlook 4
P My Feedback to Microsoft and their response; also New Outlook roadmap Using Outlook 0
A New Outlook - Cannot drag IMAP emails to Task List in MyDay Using Outlook 1
L Android Outlook Doesn't Update PC Notification Changes Using Outlook 0
A How to open Excel file saved in Outlook folder? Outlook VBA and Custom Forms 4
D.Moore Outlook desktop client suggested searches question Using Outlook 23
Y Outlook 2016 (64-bit) Copy Local Cal. Events to Another Cal. with Modified Reminder time Using Outlook 2
T Outlook 2019 While connecting an IMAP account in "classic" Outlook 2024 I caused a massive duplication of emails on the server (death loop) Using Outlook 5
D Cannot logon to Outlook.com, or outlook on Mac, outlook not updating on ipad, iphone Using Outlook 1
J unable to get my new install of Outlook to display mailboxes in the single-line format. Using Outlook 1
D Legacy Microsoft Outlook for Mac Support will end in Oct 2025 Using Outlook 5
C Nasty Bug Lurking In Outlook For Years. The Trigger. Any Fix Or Workaround? Using Outlook 11
R Auto clicking Hyperlink in outlook Outlook VBA and Custom Forms 7
ughlook Open multiple contacts in NEW Outlook? Using Outlook 3
G Outlook translation feature is off Using Outlook 2
J Outlook 2010 does not let me put any account Using Outlook.com accounts in Outlook 3
P 3 of 5 PST files don't install from d:\outlook but only from D:\ Using Outlook 7
HarvMan January Windows 10 preview update force installs new Outlook Using Outlook 1
L Outlook 2010 - new installation on Windows 11 - aplzod32.dll is not a valid Add-in Using Outlook 12
J Outlook troubleshooting/logging - option grayed out Using Outlook 2
B Arrows missing from Outlook emails vertical scrollbar Using Outlook 0
G Outlook 2021 (New) doesn't respect default browser Using Outlook 9
B Outlook or iPhone turning tabs into spaces in Outlook Notes Using Outlook 1
P newly installed Office 365 includes OLD Outlook Using Outlook 6
R Outlook ribbon menu default? Using Outlook 7
H Spam email in Gmail not visible in Outlook Using Outlook 3
J How to transfer Win 10 Outlook to new Windows 11 pc? Using Outlook 16
J Renegade spam URL line displayed in old local Outlook 365 email title Using Outlook 3
G Reduce whitespace in Outlook desktop Contact Cards display Using Outlook 3
C Outlook classic via 365 Using Outlook 2
Dr. Demento Analogous Outlook code to read info into an array (or collection or whatever) Outlook VBA and Custom Forms 7
S Repair Outlook Using Outlook 8

Similar threads

Back
Top