How to open a local file from an ASP page

Author Message
olinuri

  • Total Posts : 5
  • Scores: 0
  • Reward points : 0
  • Joined: 6/27/2001
  • Location: Spain
  • Status: offline
How to open a local file from an ASP page Wednesday, June 27, 2001 10:02 AM (permalink)
0
I am trying to open a file from a ASP page, the file being located on a shared foler on a fileserver.
can I do that?

Olivier

 
#1
    dougc

    • Total Posts : 12
    • Scores: 0
    • Reward points : 0
    • Joined: 5/31/2001
    • Location: USA
    • Status: offline
    Re: How to open a local file from an ASP page Wednesday, June 27, 2001 10:23 AM (permalink)
    0
    Hi Olivier,

    What type of file?.

    Regards,
    Doug

     
    #2
      olinuri

      • Total Posts : 5
      • Scores: 0
      • Reward points : 0
      • Joined: 6/27/2001
      • Location: Spain
      • Status: offline
      Re: How to open a local file from an ASP page Wednesday, June 27, 2001 10:31 AM (permalink)
      0
      an Excel file, with a Data Source pointing to a view on SQL server. I execute a stored procedure according to the collected code on the ASP page, then I do a select statement from the table and then I want to open the Excel workbook to display the results.

       
      #3
        adminkoe

        • Total Posts : 114
        • Scores: 0
        • Reward points : 0
        • Joined: 12/23/2000
        • Location:
        • Status: offline
        Re: How to open a local file from an ASP page Wednesday, June 27, 2001 11:11 AM (permalink)
        0
        Hello,

        This is easy to do. Just redirect the visitors to the xls files . e.g:

        SQLStoredProcResult="myfile.xls"

        response.redirect "http://thenameofthefileserver/" & SQLStoredProcResult.

        Good Luck!


        Regards,
        Andi Zain
         
        #4

          Online Bookmarks Sharing: Share/Bookmark

          Jump to:

          Current active users

          There are 0 members and 1 guests.

          Icon Legend and Permission

          • New Messages
          • No New Messages
          • Hot Topic w/ New Messages
          • Hot Topic w/o New Messages
          • Locked w/ New Messages
          • Locked w/o New Messages
          • Read Message
          • Post New Thread
          • Reply to message
          • Post New Poll
          • Submit Vote
          • Post reward post
          • Delete my own posts
          • Delete my own threads
          • Rate post

          2000-2012 ASPPlayground.NET Forum Version 3.9