Hi Roy,
No, you wouldn't want to try handling documents on a
server... There's a Knowledge Base article that outlines
some of the pitfalls
NFO: Considerations for Server-Side Automation of Office
[Q257757]
http://support.microsoft.com?scid=kb;EN-US;Q257757
I'm assuming these fields are either form fields or activeX
controls? I know of no way to extract the data without
opening the document, first, except perhaps to use a
language like C++ and "parse through" Word's binary file
format. Thing is, you have to apply to Microsoft for the
specific version BFF.
Now, if you could be sure everyone would be using Word
2003, you could set something up that would force a save to
XML. *That* would be ideal.
For earlier versions of Word, saving in HTML format might
be an option, but the tricky part would be making sure
everyone's result would be something that you could parse
reliably, since the different versions of Word create
different "flavors" of web-page...
I have some users that upload WORD documents to my web
server via an ASP page. I need to be able to open the
document and read the fields that were filled in so they
can be cehcked against certain criteria. I have heard
that I can create an object on my web server and then
open the document that way but I have read were this is
not advised since it is resource intensive and the user
would not be able to respond to any dialogs that WORD
would display.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jan 24 2003)
http://www.mvps.org/word
This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail