0

I want to open any custom application say VLC Player or any other installed application in the system through HTML page. I have tried WScript.shell technique but no luck.

halfer
  • 19,824
  • 17
  • 99
  • 186

1 Answers1

0

You can't do this in general. There's no way to open any arbitrary application from a webpage. Here are some scenarios where it's still possible. One possibility: some programs have protocol handlers associated with them, and those can be launched through a link or via javascript (e.g. window.location = "someprotocol:path?argument=value"). I don't think VLC (to use your example) is among them, however.

There might be a more useful solution if you limit yourself to a particular browser/OS.

Steve Trout
  • 9,261
  • 2
  • 19
  • 30
  • can i make protocol handlers for my custom application ? if yes then how ? – Rahul Munjal Nov 10 '14 at 04:06
  • Check here and elsewhere on Stack Overflow for how to do that: http://stackoverflow.com/questions/80650/how-do-i-register-a-custom-url-protocol-in-windows – Steve Trout Nov 14 '14 at 05:13