Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All,

Is there a way to convert PDF file into an equivalent text file? I have seen couple of DLLs doing this work for me. However, I don't want to use any DLLs to carryout this task. Any help would greatly be appreciated.

Many thanks in advance.
Posted
Comments
Mehdi Gholam 31-Aug-15 14:40pm    
You need a library (DLL files) or you have to write it yourself, personally I would go with the first option.
Sundar9057 1-Sep-15 0:55am    
I would want to have my own code

1 solution

Just forget VB6. As to VB.NET, there is a number of open-source possibilities:
http://en.wikipedia.org/wiki/IText[^],
http://itextpdf.com[^],
http://sourceforge.net/projects/itextsharp[^].

—SA
 
Share this answer
 
Comments
Sundar9057 1-Sep-15 0:57am    
I don't want to use any third party tools that does the work. I see itextsharp used in the provided links. I would expect it to be redistribute and don't want to run into the licensing issues.

Thank you
Sergey Alexandrovich Kryukov 1-Sep-15 1:26am    
Then why did you ask your question? Feel free to write your own PDF support.
By the way, I only listed open-source product, but you don't seem to listen to reasonable advice. Do it your way then, what's the problem?
—SA
Sundar9057 1-Sep-15 4:24am    
I just asked if someone has already done it. I have not denied your advise but I wanted to have a code that can be redistributable. I never bothered you and it is not a good way to be harsh.
Sergey Alexandrovich Kryukov 1-Sep-15 8:40am    
Open-source code can be redistributable. Check up the license, if there is any.
Nothing personal (or bothering), but your logic amuses me. Your way, it looks like referencing absolutely any library would be wrong. What would be remaining opportunities? Only write everything from scratch. But in this case, what would you expect? Asking anyone to write the whole PDF support code would hardly be realistic. Can you see the point.

By the way, on this site, it's extremely unlikely that you get a reference to something which is not redistributable or even proprietary, not counting the products which inquirers already use.

—SA

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