T
TimmyG
Hello all,
I am experimenting with word documents in a web application
environment. In order to avoid any degree of server side automation we
came up with the possibility of altering the document content wihtout
going anywhere need the word application itself. I.E. opening the
document programatically as some type of stream, finding and replacing
various text and writing the doc to file system etc.
My problem is this:
When editing a word document via notepad or via code the document
cannot then be re-opened with word, the following message appears: The
document name or path is not valid: Try the following...blah blah
blah.
Have tried all i can find in terms of openeing but still fails.
Am i corrupting the document in someway?
If done with RTF files there is no problem at all, i do however need
macro functionality so RTF is not really viable.
Much obliged,
TimmyG.
I am experimenting with word documents in a web application
environment. In order to avoid any degree of server side automation we
came up with the possibility of altering the document content wihtout
going anywhere need the word application itself. I.E. opening the
document programatically as some type of stream, finding and replacing
various text and writing the doc to file system etc.
My problem is this:
When editing a word document via notepad or via code the document
cannot then be re-opened with word, the following message appears: The
document name or path is not valid: Try the following...blah blah
blah.
Have tried all i can find in terms of openeing but still fails.
Am i corrupting the document in someway?
If done with RTF files there is no problem at all, i do however need
macro functionality so RTF is not really viable.
Much obliged,
TimmyG.