Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: opening a file through respective application using javascript


Message #1 by "Vijay Jadhav" <writetovijay@r...> on Sun, 3 Mar 2002 10:37:20
How a client browser actually works when given a file type is defined by 
the MIME settings on that PC - these can be found in the Registry. You are 
not as far as I am aware able to amend the settings from a web page due to 
security issues. But if you simply have a link such as :

<a href="vbproj.vbp">Visual Basic Project</a>

then you can test and see what happens.

At 10:37 03/03/02 +0000, you wrote:
>when a user downmloads a file (most probably it will be a drawing file
>CAD/CAM) it shud run in the respective editor.
>for example if i download a .vbp file it shud directly open in the visual
>basic editor. how do i do this.
>there is a syntax for opening a word application but how to open the doc
>file in the word using javascript. i willpass the file name (along with
>extension name) to the function and the function shud see the extension
>and run the respective editor and also open the application .
>i want to achieve this using javascript.
>Thanks adn regards
>vijay



  Return to Index