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
omojolinho
0
Newbie Poster
Recommended Answers
Jump to PostYou 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 thisOpenFileDialog.FileName
As for manipulating the contents of a pdf you can try something like this …
All 4 Replies
Fenrir()
52
Newbie Poster
omojolinho
0
Newbie Poster
cgeier
187
Junior Poster
BobS0327
24
Junior Poster in Training
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.