|
-
Jul 15th, 2008, 08:49 AM
#1
Thread Starter
Lively Member
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
-
Jul 15th, 2008, 09:01 AM
#2
Frenzied Member
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.
-
Jul 15th, 2008, 09:04 AM
#3
Frenzied Member
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.
-
Jul 15th, 2008, 12:51 PM
#4
Re: Opening File directly from the network
Give them a link.
<a href="\\share\foldername\abc.xls">Your EXCEL file</a>
-
Jul 16th, 2008, 07:44 AM
#5
Thread Starter
Lively Member
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!
-
Jul 16th, 2008, 08:37 AM
#6
Thread Starter
Lively Member
Re: Opening File directly from the network[RESOLVED]
I included a hyperlink object and everything works fine.............
Thanks everyone
-
Jul 16th, 2008, 03:30 PM
#7
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|