Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to read document files(resumes) in asp.net using c# without using any interop dll?
Posted

Maybe by using Stream or static methods in the File class. Although if you want to keep the text formatting intact, it is a different thing. It will need you to understand how MS word or PDF or any file type that user uses stores this information. Then you will have to manually parse, understand and read it. BTW why are you against Inteop?
 
Share this answer
 
Comments
sanjibm_02 11-Apr-11 1:48am    
actually interop dlls are not working in windows server?If i use it application gets hanged.
I have tried with file stream class but it reads junk values.
dan!sh 11-Apr-11 1:52am    
Then there must be something wrong with the interop code you have used or maybe some other thing. It is quite hard to guess that though.
sanjibm_02 11-Apr-11 1:55am    
can you please tell me the permissions that need to set in windows server 2008R2?
You can use Stream Readder and stream writer classes through that u can read files in your system.
 
Share this answer
 
Comments
sanjibm_02 11-Apr-11 1:50am    
I have commneted in last post that using this classes reading junk values that i am not able remove from the string that i am geting after reading.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900