Jump to content

Using java to force a downloaded .doc file to open in ms word


wintersilke

Recommended Posts

I've got a web page that has a downloadable .doc with some VBA code in it.  When the link is clicked, the user's browser tries to open the doc file embedded in the browser, fails because of the VBA code, and then opens the file in MSWord.  I would like to make this process more seamless and have come to understand that there a combination of html code and php code or java that will can force the user's local computer open the server saved word document using MS Word.

 

I discovered that php is not installed on that server and while I have requested that it be installed, that process may take several weeks.  Does anyone know of java commands that will do this action?

 

Any help would be appreciated.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.