I am using a "Process" to open a .pdf file in Acrobat Reader, like
this:
Dim proc As New Process
With proc.StartInfo
.FileName = "c:\filename.pdf"
.UseShellExecute = True
End With
proc.Start()
When the PDF file is open for viewing, I will eventually need Acrobat
to CLOSE the file, so i can programatically "move" the .pdf file to a
different location on my drive. But I can't because the file is in
use. Currently I have to manually close the .pdf file before moving
it.
Is there a way to have .net automatically close the file in Acrobat?
Thanks for all your help!
John