1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VBScript - Link to file on server, open in original state & readwrite mode

Discussion in 'Web Design, HTML And CSS' started by ismail, Nov 10, 2009.

  1. ismail

    ismail New Member

    Joined:
    Nov 10, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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 :(
     

Share This Page