devxlogo

Shelling MS Internet Mail

Shelling MS Internet Mail

If you are using the new mail program that can be downloaded for free from Microsoft’s Web site, you can run it from within your program. Simply add this command to a command button::

 X = Shell("C:WINDOWSEXPLORER.EXE /root,C:WINDOWS _ 	Internet Mail.{89292102-4755-11cf-9DC2-00AA006C2B84}", 3)

Note that for this example, the Windows directory name is hard coded. For a production app, call the GetWindowsDirectory API and use that return value instead.

devx-admin

Share the Post: