How do I call an exe on the local machine / on Web Server from JavaScript ?
My requirement is ....
I have a textbox in the HTML form where in I will have a file with pathname (Ex : If Local machine - C:/Test.doc ; If web server than
http://webservername/virtualdirectoryname/test.doc )
When I click "Open File" button the file selected in the textbox should be opened in the appropriate editor.Means Test.doc should be opened in MS-WORD and not in browser window.
I should be able to open applications which does not support ActiveXObjects also and it must also work for applications for which no object can be created .
We also have editors that are very specific -- in order to display the results of chromatography, XRF, etc because the results are mostly stored in a binary format and only viewable via software of the instrument supplier (sometimes even instrument type en version specific).
And one more question is : Suppose the client doesn't have the required software/editor to open the file than can we call the software/editor exe from webserver and open the file in that exe ?
Can this be done using Javascript ?
I am trying it with wscript.shell .......
Thanks
Vinitha