All right,that's how it went. i referred all the possible solution i can. from killing,quitting ,closing,Marshal.FinalReleaseComObject,GC Collect and WaitForPendingFinalizers. But nothing worked for me. so i found out the running process and killed it through code. And bamn everything works the way i expected.
Code:
Process[] pros = Process.GetProcesses();
for (int i = 0; i < pros.Count(); i++)
{
if (pros[i].ProcessName.ToLower().Contains("powerpnt"))
{
pros[i].Kill();
}
}
Namespace Required: