A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to get the path from an outlook.Inspector



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 23rd 09, 08:08 AM posted to microsoft.public.outlook.program_vba
blackjazz
external usenet poster
 
Posts: 3
Default How to get the path from an outlook.Inspector

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?
Ads
  #2  
Old October 23rd 09, 02:17 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to get the path from an outlook.Inspector

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"blackjazz" wrote in message
...
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?


  #3  
Old November 4th 09, 05:09 PM posted to microsoft.public.outlook.program_vba
blackjazz
external usenet poster
 
Posts: 3
Default How to get the path from an outlook.Inspector

Thanks! So I have to get the full path of a message file through other ways.


"Ken Slovak - [MVP - Outlook]" 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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"blackjazz" wrote in message
...
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?


.

  #4  
Old November 4th 09, 06:25 PM posted to microsoft.public.outlook.program_vba
blackjazz
external usenet poster
 
Posts: 3
Default How to get the path from an outlook.Inspector

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


"Ken Slovak - [MVP - Outlook]" 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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"blackjazz" wrote in message
...
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?


.

  #5  
Old November 5th 09, 02:57 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to get the path from an outlook.Inspector

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"blackjazz" wrote in message
...
So if I want to locate the message file which is from local disk. How?
Thanks!


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script w/relative path that sends absolute path to a folder to theclipboard? [email protected] Outlook and VBA 3 March 24th 09 01:32 PM
Inspector wrapper and Inspector close not fireing [email protected] Add-ins for Outlook 1 June 20th 08 01:53 PM
Excel path in Outlook Trefor Outlook and VBA 5 May 29th 08 02:52 PM
change the cache mode path (.ost file path) bln-ami Outlook - Installation 0 July 18th 06 08:45 AM
Help! Inspector.Close is fired before Inspector.Activate handler finishes Sergey Anchipolevsky Add-ins for Outlook 8 February 9th 06 09:51 AM


All times are GMT +1. The time now is 03:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.