How to open a .msg file in Access

  • Thread starter Thread starter Eric van Nierop
  • Start date Start date
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.
 
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.
 
Back
Top