2

Possible Duplicate:
How do I register a custom URL protocol in Windows?

Hi , You've seen the Yahoo Messenger parameters (Like this : ymsgr:sendim?YahooID ) certainly ! when you click on it , it will be handled by Y! Messenger application and in this case , a new pm windows will be shown . what called these parameters ? and How can i use them in my application ?

Thank you

Community
  • 1
  • 1
Kermia
  • 4,171
  • 13
  • 64
  • 105
  • This has already been asked and answered. Follow the link above this comment. – David Heffernan Feb 16 '11 at 19:50
  • 1
    Notice that these aren't called *parameters*, but *protocols*, like `http:`, `ftp:`, `mailto:`, etc. You have probably also seen `res:`, `javascript:`, and the others (http://msdn.microsoft.com/en-us/library/aa767739(VS.85).aspx) a lot. – Andreas Rejbrand Feb 16 '11 at 20:06

1 Answers1

2

I think that these are called Asynchronous Pluggable Protocols.

Andreas Rejbrand
  • 105,602
  • 8
  • 282
  • 384
  • Hmm, those are the ones you need to handle URL's like that and feed content to the browser. I believe this question is about links to external programs, much like "mailto:" – Stijn Sanders Feb 16 '11 at 21:57
  • @Stijn: Well, `mailto:` is one of the predefined APP:s, according to http://msdn.microsoft.com/en-us/library/aa767739(VS.85).aspx. But really, I have never touch this part of the Windows API. – Andreas Rejbrand Feb 16 '11 at 22:23
  • I have passed all levels and all registry values have been created but , i got this error : "Firefox doesn't know how to open this address , because the protocol (myapp) isn't associated with any ptogram" . why ? – Kermia Feb 17 '11 at 08:53
  • @Kermia: If you want to get more attention to your question, you can offer a bounty. – Andreas Rejbrand Feb 19 '11 at 00:17
  • @Kermia: http://stackoverflow.com/privileges/set-bounties – Andreas Rejbrand Feb 19 '11 at 12:36