Lets say I install word on the server -how would I approach this.
NOTE: the end user is dumb.
I will be creating a form for them to enter n the name, address and other fields which will populate the word template. this should then prompt them to download after they click submit.
The file can be saved and processed on the server but the end user should just have to fillin the fields and click submit and save.
Main Topics
Browse All Topics





by: thefritterfatboyPosted on 2006-11-03 at 06:29:26ID: 17866534
Would it be possible for your document to be Word 2003+ format? (I think it would open in 2000 but definately not in the '97 version)
If so, you could look at using XML to generate a document. If you open your document in Word 2003 and select "Save As.." you can select the XML format. Renaming this document to have a .doc extension is advisable - Windows likes to handle XML document to check their type before opening but it's not foolproof - having a .doc extension ensures Office opens the document.
Once in XML format, you can easily open the file as a text file on the server and replace what you need to replace.
If not, you'll need to install word on the server.