Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Web Design, HTML And CSS Forums (http://www.go4expert.com/forums/web-design-forum/)
-   -   VBScript - Link to file on server, open in original state & readwrite mode (http://www.go4expert.com/forums/vbscript-link-file-server-original-t20046/)

ismail 10Nov2009 18:47

VBScript - Link to file on server, open in original state & readwrite mode
 
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.
Code:

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 :(


All times are GMT +5.5. The time now is 08:09.