hi
i am doing one project in asp.net in which i have one link button .
I have one ppt file.
i have to open that ppt file in same aspx page when i click on that link button.
so anybudy can help me.
Thanks in Advance.

click here Microsoft will help you

and try this

Public Function Convert(ByVal strPath As String, ByVal strOutputPath As String) As Boolean

        Dim pptApplication As ApplicationClass
        Dim pptPresentation As Presentation

        Try

            pptApplication = New ApplicationClass()
            pptPresentation = pptApplication.Presentations.Open(strPath, MsoTriState.msoFalse, MsoTriState.msoFalse, MsoTriState.msoFalse)

            IO.Directory.CreateDirectory(strOutputPath)

            For intCount As Int32 = 1 To pptPresentation.Slides.Count
                pptPresentation.Slides.Item(intCount).Export(strOutputPath + "\" + SlideFileName + intCount.ToString + "." + Filter, Filter, Width, Height)
            Next

            Return True

        Catch ex As Exception

            Return False
            Throw ex

        Finally

            pptPresentation = Nothing
            pptApplication = Nothing

        End Try

    End Function

problen done by my slow connection so please understand write code will help u

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.