You might find this code sample useful:
http://www.outlookcode.com/codedetail.aspx?id=1561
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Dave S" wrote in message u...
"Elliot" wrote in message
ps.com...
Is it possible to navigate to an email located at c:\sampleEmail.msg
using vb6 or vb.net to read the contents of the Subject and Body for
the purpose of searching?
May I ask a similar question please ...
I have an existing C++ program that reads EML message files saved from
Outlook Express and files them according to their "from" / "to", and
subject, and date/time of message.
I'd like to extend this to handle MSG files saved from Outlook 2003. I
haven't been able to track down any documentation that deals with how to
read an MSG file to find this basic information. I'd need: subject, from,
to, date and time.
Any pointers to documentation and/or APIs? Although this program is in C++,
I'm happy with descriptions or API source code in any language. (Preferred
environments for source code would be C++, Java, Pascal or VB, as I already
have development environments for those set up.)
Many thanks, Regards, Dave S