Open Word document from ASP page using FileSystemObject, then edit it on screen
Posted on 2007-08-06
I have a bunch of Word documents on a Web Server in a separate folder. All of my users do not have access to the Web Server directly, but they should have access to it from my Intranet application. I want to be able to display a list of the Word documents in the folder in a dropdown box and have the user select a file. Then the would enter a job number and click submit. The .asp page should use a FileSystemObject to open the file selected, Save it as JobNumber.doc and then open that file for edit on the screen. Can I do that?
My connection string is:
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.ConnectionTimeout = 15