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
S Rule not running in Outlook Classic unless... Using Outlook 9
J column with actual email address in Outlook Classic Using Outlook 2
S Not receving all email since converting from Outlook 2007 to Outlook Classic Using Outlook 3
Rupert Dragwater Outlook 365 taking too long to synchronize each time email is being checked Using Outlook 17
Hornblower409 Outlook VBA Code Example - Unified inbox in Outlook Classic Outlook VBA and Custom Forms 5
J Need replacement for iTunes to locally (USB) sync. iPhone 17 to Classic Outlook 2024 Using Outlook 4
Thomas Fast Best way to manage incoming customer emails automatically in Outlook? Using Outlook 1
I Outlook 2024 Windows 11 Gmail - sudden log in problems Using Outlook 13
S Outlook Classic on 2024 Using Outlook 10
L Fresh Install of Windows 11, saved previous image, how to retrieve Outlook Contacts Using Outlook 10
C Can't Use Custom Contact form in Outlook Classic since early January 2026 Outlook VBA and Custom Forms 7
e_a_g_l_e_p_i Need help updating email in Outlook 2021 Using Outlook 10
V Outlook spam filter misbehaving Using Outlook 9
L what are the downsides of running both classic and new outlook on same win 11 pc? Using Outlook 2
P Preventing permanent deletions in Outlook on the Web Using Outlook 0
L any trick to embedding images in new outlook and outlook on the web contacts? Using Outlook 4
L new outlook contacts searching Using Outlook 5
R Outlook 2010 Outlook 2010 migration question Using Outlook 2
W New Outlook PEOPLE blank Using Outlook 6
C New Outlook issues with Gmail, particularly labels/folders Using Outlook 3
E What is the next workaround for macro in New Outlook 1.2025.1111.100 Outlook VBA and Custom Forms 3
E Need to digitally sign macro but VBA\Outlook crash Outlook VBA and Custom Forms 4
P Outlook 2003 no longer opens "without" Folder List Showing in Navigation Pane Using Outlook 2
Hornblower409 Outlook 2010 - Never ending update Using Outlook 0
V Outlook created new profile? Using Outlook 1
J Outlook inbox question Using Outlook 4
T How to Add AT&T Contacts to Outlook 365 Using Outlook 5
F Outlook 2021 outlook on iPhone Using Outlook 1
F Outlook 2021 Outlook on iPhone asks for password Using Outlook 0
P ics calendar entries suddenly open up new Outlook Using Outlook 3
P Outlook "forgets" password until system rebooted Using Outlook 2
N Why does Outlook keeping adding to the email address I have in my notes portion of a contact? Using Outlook 2

Similar threads

Back
Top