Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Aug 4, 1997

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:\WINDOWS\EXPLORER.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.
Fred Lylnne
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date