Movie Player ActiveX Control

IsAudioFile

 

Return true if loaded is audio file.

Public Function IsAudioFile( ) as Bool

 

No Parameter
 

Return Value
True - if loaded is audio file,  False- if loaded is video file.
Example

   

Visual Basic Syntax
MoviePlayer1.FileName ="c:\test.mp3"
If MoviePlayer1.IsAudioFile Then
  MsgBox "Loaded is audio file only"
End if