Saturday, September 22, 2012

How to Open Powerpoint file on button click in ASP.NET



You can open any power point by its location on click of a button

protected void btnClubPPT_Click(object sender, EventArgs e)
        {
            try
            {
                   System.Diagnostics.Process.Start("You PPT.ppt");
             }

            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                GC.Collect();
            }

No comments:

Post a Comment

Managing Session Integrity in .NET Core Web Applications: A Middleware Approach

 In our journey of developing a .NET Core web application, we encountered a peculiar challenge with our time-tracking feature. The applicati...