Results 1 to 7 of 7

Thread: Opening File directly from the network

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Posts
    101

    Opening File directly from the network

    Hi,

    We have an Intranet website where the users have to open a file (excel) from the network make changes and save the file back to the same location.

    When I use Response.WriteFile(<filename>) it opens a local copy on the client system and to save it back we have to select save as and give the entire path.

    Is there a way to directly open the file from the web page, make changes to the file and when we click on save it should save the file to the same location on the network.

    I am using ASP.NET/VS 2003

    Thanks
    Monte

  2. #2
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    Re: Opening File directly from the network

    Not sure if this will work in ASP.NET but you can try using the Shell command to call Excel.exe with the network path of the file.

  3. #3
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    Re: Opening File directly from the network

    It will probably shell excel on the server but it's worth a try... or maybe you can find some javascript that will shell excel.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Opening File directly from the network

    Give them a link.

    <a href="\\share\foldername\abc.xls">Your EXCEL file</a>

  5. #5

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Posts
    101

    Re: Opening File directly from the network

    Thanks for the response....

    I think the link will work fine.

    But is there a way to display the link at a specified location on the web page...
    On my web page I have a label "To display attachment go to...." <Excel Link>


    Please let me know

    Thanks!

  6. #6

    Thread Starter
    Lively Member
    Join Date
    May 2001
    Posts
    101

    Re: Opening File directly from the network[RESOLVED]

    I included a hyperlink object and everything works fine.............

    Thanks everyone

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Opening File directly from the network

    Good to know, add [Resolved].

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width