Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
How to read document files(resumes) in asp.net using c# without using any interop dll?
Posted 10-Apr-11 19:42pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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?
  Permalink  
Comments
sanjibm_02 at 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.
d@nish at 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 at 11-Apr-11 1:55am
   
can you please tell me the permissions that need to set in windows server 2008R2?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You can use Stream Readder and stream writer classes through that u can read files in your system.
  Permalink  
Comments
sanjibm_02 at 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)

  Print Answers RSS
0 OriginalGriff 210
1 Richard MacCutchan 100
2 kbrandwijk 90
3 ProgramFOX 80
4 Sandeep Singh Shekhawat 70
0 Sergey Alexandrovich Kryukov 9,050
1 OriginalGriff 8,151
2 CPallini 2,613
3 Richard MacCutchan 2,221
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 8 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100