Code:
Microsoft.Office.Interop.PowerPoint.Application oPPT;
            Microsoft.Office.Interop.PowerPoint.Presentations objPresSet;
            Microsoft.Office.Interop.PowerPoint.Presentation objPres;

            //the location of your powerpoint presentation

            //string strPres = @"filepath";
            tablo = AraBaglantı.sorgula("select DersKonumu from Ders where DersID="
...