Diagnostics.Process.Start only works fist time

  • Thread starter Thread starter dw80916
  • Start date Start date
D

dw80916

Guest
Hi all,

I'm using Diagnostics.Process.Start(Path) to open a pdf file. It works fine on first instance.

The pdf file displays, then I close it. The next time I call Diagnostics.Process.Start(Path) it throws an error stating the file is in use by another application.

Do I somehow need to terminate or dispose of anything so this works more than once?


Thanks in advance.

LP

Continue reading...
 
Back
Top