Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2007-11-27
2
Medium Priority
?
487 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

705 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