Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • Last Modified:

How do I make a browser and a mail program the default

I wrote my own mail client and Web browser and I wish to make these program the default one.  That is when a user clicks on an email address on a Web page I want my mail client to be invoked.  I think it is something in the registries but not sure what.
0
skylinka
Asked:
skylinka
1 Solution
 
d003303Commented:
Take a look at the registry:
HKEY_CLASSES_ROOT\mailto\shell\open\command
defines the program to be used when mailto is clicked or executed from the command line/run dialog box.
HKEY_CLASSES_ROOT\.htm and HKEY_CLASSES_ROOT\.html (Default) string value point (if IE is default) to htmfile.
HKEY_CLASSES_ROOT\htmfile\shell\open\command is the command line to be executed when a HTM file is clicked.

Slash/d003303
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now