How to get the path from an outlook.Inspector

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?
 
K

Ken Slovak - [MVP - Outlook]

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.
 
B

blackjazz

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

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top