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

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.