How would i close the file then ... I am writing a program to run different powerpoint show depending on the time of day. I want to be able to close 1.pps when its time for 2.pps to run. hope this makes sense!
if (time.Hour >= 9 && time.Hour < 12)
{
Process.Start(@"C:\1.pps");
}
else if (time.Hour >= 12 && time.Hour < 15)
{
Process.Start(@"C:\2.pps");
The idea is to wrap a for loop around the if statment and get it to keep checking what the time is and run the correct pps