Solved

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

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 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