Good day, I desperately need to get the following working.

I have an application that uses vbscripting as it's code developing, The two problems I have is:

1. Creating a link to open the attached file which lies on the server in it's original state.
fileString = "<a href='upload/test.doc' target=''> View File </a>"
The problem is this open's the doc in a web page and not in Microsoft Word.
I need it to open the files in its state being Word,Excel etc.

2. When opening the file in its original State the file must be readwrite.
The user must be able to edit & save the file on the server.
so the user can make the changes & just click save.

Please help - i need to get it going