how to search a keyword in .doc,.xls,pdf files using c#?

i'm unable to search a keyword in .doc,xls,pdf files using c #

Page 1 of 1

3 Replies - 10135 Views - Last Post: 14 December 2010 - 12:56 PM Rate Topic: -----

#1 pradipzanwar   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 14-December 10

how to search a keyword in .doc,.xls,pdf files using c#?

Posted 14 December 2010 - 11:04 AM

i was successful in searching a keyword in .txt file in c #.....but finding it difficult to search in .doc,.pdf n other documents...can anybody please suggest a suitable way for that?
Is This A Good Question/Topic? 0
  • +

Replies To: how to search a keyword in .doc,.xls,pdf files using c#?

#2 Sergio Tapia   User is offline

  • D.I.C Lover
  • member icon

Reputation: 1258
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: how to search a keyword in .doc,.xls,pdf files using c#?

Posted 14 December 2010 - 11:10 AM

Have you tried Google?

"c# pdf text search"?
Was This Post Helpful? 0
  • +
  • -

#3 kepp   User is offline

  • New D.I.C Head
  • member icon

Reputation: 8
  • View blog
  • Posts: 41
  • Joined: 18-November 10

Re: how to search a keyword in .doc,.xls,pdf files using c#?

Posted 14 December 2010 - 11:14 AM

A *.txt file is just a simple text file. PDF, Much diference when it comes to reading it from code. Why not try to open a doc or a pdf with "notes.exe" and see how it look like for starters? If it dosen't work. you may have to read upon PDF's and World documents. You may be able to open it, but it can be decoded differently etc
Was This Post Helpful? 0
  • +
  • -

#4 SMASH   User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 34
  • Joined: 01-May 09

Re: how to search a keyword in .doc,.xls,pdf files using c#?

Posted 14 December 2010 - 12:56 PM

http://www.dotnetspi...g-PDF-File.aspx

Google is your friend ;)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1