0

Hello wizards
Please i need some help from you all. I need to write a c# code to select files(pdf files to be precise) from any location on my PC. Also, i need to get the filename and i will also like to manipulate the text contained in the file. Please, any help will be appreciated.
Thanks

4
Contributors
4
Replies
17
Views
4 Years
Discussion Span
Last Post by BobS0327
0

You can drag a OpenFileDialog Component on your screen and set it up in code like this openFileDialog1.Filter = "PDF File (*.pdf)|*.pdf|All Files (*.*)|*.*"; you can get the filename after selecting a file like this OpenFileDialog.FileName As for manipulating the contents of a pdf you can try something like this Click Here You can use this to extract the contents of a pdf to a text file

Edited by Fenrir()

0

Thanks buddy. However, the link appears to be incorrect/broken... Please could you help resending? Thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.