Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.NET And Office Docs

Status
Not open for further replies.

dcusick

Technical User
Aug 9, 2000
271
US
Okay, I have a DB with a bunch of records in it. I also have about 8 assorted Word and Excel docs. Now, when a user opens up a record, they will be able to open up a document specific to that record. When a user tries to open up this doc, I would like to open up the specified document in a new window, allow the user to edit it, and then save it.

I am able to open the doc by itself no problem, and the user can edit it, as much as they want. The problem comes when trying to save. The Save option isn't available. It seems as if you have to use the Save As feature to save the document on your local machine. You can't save the version that's on the server. I guess what I'm asking is, Is there a way to open a document from the server, and save that document on the server after making changes?

Thanks in advance.

Doug
 
Not really. The reson that the user has it open is because they have downloaded a copy of it to their temporary files and then that has been opened for them.

You could supply them with a input control to upload it back to the server (and overwrite the one that exists) wuite easily, or you could read the contents into a control and then recreate the file using the new text (quite easy for a word doc, not so easy for an excel doc though).


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
ugh... I was afraid of that... I was trying to get around the users physically having to do anything after saving. Can't really trust them to save it to the right directory, and then picking the right file. Oh well, guess it's time to do some rethinking...

Thanks for the info!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top