PowerPoint to Flash converter

PresentationOpened Property

Description

This property indicates whether the presentation for conversion was opened successfully.

Type

Boolean (read only)

Example

This example checks if the presentation was opened successfully. It returns the error description in case of presentation opening failure.

Sub SimpleSample()
   Dim fs As New FlashSpringAPI.FlashSpring
   fs.OpenPresentation "c:\test.ppt"
   If Not fs.PresentationOpened Then
      Dim err As String
      err = fs.LastErrorDescription
      MsgBox "Presentation opening failed. Error is " & err
   End If
   fs.GenerateFlash "c:\presentations", "myMovie.swf", OM_SOLID, "Standard"
   fs.ClosePresentation
   fs.ClosePowerPoint
End Sub

  Copyright © 2004-2008 iSpring Solutions, Inc.