Forum Moderators: open

Message Too Old, No Replies

Count words (.doc, .pdf, .txt) in ASP

         

SpanishWeb

1:56 pm on Nov 25, 2009 (gmt 0)

10+ Year Member



Hi,

I have a page where i can upload files (.thml, .doc, .pdf, .txt).

But now, i need to know the number of words in the uploaded files. Is this possible?

For example, i know how to convert a .doc in a .txt and this way to count words easly (office needed).

But, do you know any component, or object to do this?

Ocean10000

3:04 pm on Nov 25, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I think if you Microsoft Index server it can be made do it once the file is indexed. It has been some years since I have used it though.

Chapter 19: Integrating Microsoft Index Server [msdn.microsoft.com]

SpanishWeb

3:45 pm on Nov 25, 2009 (gmt 0)

10+ Year Member



I don't want to install office on the server.

Do you know Aspose wordsn for .net? I have contacted them to ask if they support classic asp too.

Ocean10000

3:35 am on Nov 26, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You do not need to install office on the server to use index server and have it index word documents.

Yes Aspose Words is accessible via com objects, thus availible via classic asp. I use Aspose Words in my daily work in dot.net projects. But I try to recommend free software first before sugguesting something you have to pay for to use legally.

Aspose.Words Lanuage Reference [aspose.com]

SpanishWeb

6:53 pm on Nov 30, 2009 (gmt 0)

10+ Year Member



No problem to pay if it works. We are testing aspose.

I don't know free software to do this with pdf, doc, and other type of files.