Search code examples
angulardesktop-application

open specific installed application (in PC) from my web page


I am working on angular 4 application and in one scenario i need to open specific installed application in PC.

Opened application should run standalone.

Is there any way to open application from my web page ?


Solution

  • Yes we can open windows application from web page as below.

    1) Open Registry Editor by typing regedit in run command(window+R).

    2) Goto Computer\HKEY_CLASSES_ROOT

    3) Find application that you want to open from browser.

    4) For example i am targeting to microsoft word so make sure it hase key like Url:Word Protocol as mentioned in below screenshot. enter image description here

    5) Also check command key has value as displayed in below screenshot.

    enter image description here

    6) Now in webpage you just need to put <a href="Word:">Let's Open Word</a>

    That's All.