Is there a way to do the fallowing:
I want to create an piece of software (with C#) which will always be executed, when a hyperlink will be clicked anywhere in windows. Or this application is executed and get a message, when a hyperlink is clicked. In this application I should get the clicked hyperlink and cancel calling the browser when it will be a specific link so I can do my own logic.
Concret: I have a CRM-Application. Now it should be possible to enter a link in word, excel, etc. which should not be executed in the browser instead it should calling something in my CRM-Application.
I hope, someone could help me, how I can do this.
Is there a way to do the fallowing: I want to create an piece
Share
You could resolve this by registering a protocol-prefix for your application rather than trying to catch hyperlinks which would be insanely complex and over-engineered.
Look into registering your own prefix. One example is the comment davee made.
From http://kb.mozillazine.org/Register_protocol:
Microsoft has an article with a reasonably thorough C# example: http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx