Solved

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

Posted on 2007-11-27
2
478 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
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)…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

13 Experts available now in Live!

Get 1:1 Help Now