res = AcroExchAVDoc.Close(False) Dim myProcesses As Process() = Process.GetProcessesByName("acrobat") Dim myProcess As Process For Each myProcess In myProcesses If myProcess.MainWindowTitle = "" Then myProcess.Kill() Next myProcess
PS. I have not tried this yet but it could be worth trying to use Marshal.FinalReleaseComObject(AcroExchAVDoc)
Thanks!
ReplyDeletethx very useful
ReplyDelete