0

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.

Edited by Dhammakirty: n/a

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by hirenpatel53
0

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
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.