How to open a .msg file in Access

E

Eric van Nierop

In Acces I made a program to save selected Emails from Outlook2000 to
specified folders on my disk.
It makes a .msg file from the Email, using Subject a a Filename.
For each Email I also make a record in a n Access Table.
Now I want to retrieve Emails in a Form by selecting a record in that table.
What is de VB code in Access to open any .msg file as an Email, just like
when I dubbelclick in Explorer on de msg file?
Thanks for any reaction.
 
M

Michael Bauer

Eric, in VB you can use the Win32 API ShellExecute. If you need access
to the opened item however I´d use the Outlook function
CreateItemFromTemplate.
 

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