Displaying emails on/from Access Forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have saved emails from Outlook Express with .EML extensions and wish to
display the contents/get at attachements through a control/button on a form.
This wirks fine launching WORD to view documents but Outlook Express ignores
a file name parameter when launched by "SHELL".
 
The Application.FollowHyperlink launches the program associated with any
file's extension. Thus:
---------
Dim strFile as String

strFile = "C:\blah\blah\blah.eml"

Application.FollowHyperlink strFile
----------
will open the message in Outlook Express on your machine. It may open a
different program or none at all on a different machine, depending how the
file associations are set.

HTH,

Kevin
 
Thanks - solves the problem

Kevin K. Sullivan said:
The Application.FollowHyperlink launches the program associated with any
file's extension. Thus:
---------
Dim strFile as String

strFile = "C:\blah\blah\blah.eml"

Application.FollowHyperlink strFile
----------
will open the message in Outlook Express on your machine. It may open a
different program or none at all on a different machine, depending how the
file associations are set.

HTH,

Kevin
 
Back
Top