i am getting following error while opening pdf file to get specefic text out and save in excel
@Imran_Khan1
can show us details on the assignment of file. the Directory… Statement.
Kindly note: GetFiles is returning a string Array of the retrieved files. So ensure that you pass only one file to opening pdf file
@Imran_Khan1
as mentioned above Directory.GetFiles… will return an array of strings
- use a for each and iterate over each item from the result of Directory.GetFiles
- pass these files to Opening PDF File, which you want to open
Setting Breakpoing and debugging allows you to inspect what Directory.GetFiles… returned
2 Likes
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.