I have several MS Word documents in the server. I need to write some code to read the docs text content and store the data in a db.
Is it possible to read MS Word content with just ASP?
yes it should be possible but you would have to read past all the header information once that is doen it is basicaly just like any txt file
open one of the ones you want to work with in notepad and see if you can figure it out if you can then you should be able to make it work, if you get stuck i should be able to try and write a function
Thanks koncept, I have tried that but the stream stops after displaying " ÐÏࡱá". I have checked the file with notepad and there is the info from the header and down below the text I intend to extract and some additional info.
I have tried skipping chars, skipping lines, but can't have the stream to get to where the text is...
There must be a way.
lol i was actually wondering if you where going to create the code or not
"Is it possible to read MS Word content with just ASP?"
No its not. You will need to use a component since a MS Word document can not be read just by opening the raw file.
__________________ Drew Gauderman
ASP - MSSQL Coder / Buisness Owner / Coder for Hire!
MSN-ICQ-AIM-YIM in Profile http://www.iportalx.net an easy ASP portal system.
sorry ive been alway for the last few days. Have you tried searching google and hotscripts?
ive never had the need to find a ms word component, so i cant really suggest any.
__________________ Drew Gauderman
ASP - MSSQL Coder / Buisness Owner / Coder for Hire!
MSN-ICQ-AIM-YIM in Profile http://www.iportalx.net an easy ASP portal system.
if its just the content you want (regardless of format) then why dont just open the doc with Word and copy all to a txt file. after that asp can probably handle the rest