Solved

From Windows Forms app. need to open email link, and web shortcut with default applications.

Posted on 2007-11-27
2
479 Views
Last Modified: 2012-05-05
Using Framework 2.0, Windows Forms application.
Need to open a web shortcut in whatever web browser the user has set as their default one in windows.
And same requirement for an email link, and default email client application.
Anyone have any idea on how I could do this, like .Net classes/interfaces that would allow me access to default browser and email, or maybe register settings that would at least tell me what apps i am dealing with?
0
Comment
Question by:creepy42
2 Comments
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 20359464
You should use the Process Component. see http://www.emoreau.com/Entries/Articles/2003/12/The-Process-component.aspx

for the web page, pass the URL in the file to open.
for the e-mail, pass "mailto:xyz@company.com"
0
 

Author Closing Comment

by:creepy42
ID: 31411215
Thank you for the quick and helpful response.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now