The example for Movie is bad: it allows the user to choose each or any item from the Open Dialog (no filtering is done):
This is the example:
Var f As FolderItem
f = FolderItem.ShowOpenFileDialog("video/quicktime")
If f <> Nil Then
MoviePlayer1.Movie = Movie.Open(f)
End If
i choosed a pdf file, click in the default button, and no crash.
2 posts - 2 participants