Answer the question
In order to leave comments, you need to log in
How to move pdf open in webbrowser?
I open the next file, do move () - it falls out with IOException "the resource is occupied by another process.
files = new DirectoryInfo(path).GetFiles("*.pdf");
webBrowser1.Navigate(files[0].Current.FullName);
webBrowser1.Navigate(files[1].Current.FullName);
File.Move(currentFileInfo.FullName, outputFile);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question