Last post Dec 22, 2008 07:15 AM by TATWORTH
Dec 19, 2008 08:36 PM|Psyclist|LINK
I'm working through the learning process and am thinking this Visual Web Developer 2008 Express is going to get my idea off the ground. I have a Word VBA program that I use and I'd like to convert it to a web-based application. It modifies, organizes,
and then prepares for printing many Word documents into a planning book through a series of GUIs.
My research so far tells me that it's not really that easy to work with Word documents through a web application. So, I'm considering converting all my word documents to web forms. This is less than ideal since formatting and printing options appear to
be less robust on web forms. So, before I embark on this transformation, I just want to be clear on this and get a little expert advice if anyone cares to respond.
Can a web-based app work with a Word document nearly as effectively as a Word VBA program? Should I abandon that and convert the Word docs to web forms? Any other options?
It occurs to me that users will not want a web-based application to manipulate Word documents on their hard drives, but can't these Word documents be stored on the server and worked on and saved there?
Dec 22, 2008 07:14 AM|TATWORTH|LINK
You should look at using a Rich Text Editor such as:
Rich text will give you much of the word processing power of Word, however you do need to be wary of how much HTML markup you do allow. It is prudent to validate all user input to ensure that only approved markup is used. There is a prototype of such a
function in the IsValidHtmlFragment method of the CommonData project at
Dec 22, 2008 07:15 AM|TATWORTH|LINK
>It occurs to me that users will not want a web-based application to manipulate Word documents on their hard drives, but can't these Word documents be stored on the server and worked on and saved there?
You could of course, implement Sharepoint but this can be quite expensive.