I have a number of files that are being uploaded in the .doc and .pdf format and I need to extract the plain text so that I can then later search on the text after being pushed to the DB. How can I convert .doc and .pdf to just plainish text on the fly. I really want to do this programatically at the point of upload. Any ideas? I've heard about people using an microsoft class to do this...???