ltmmPlayCtrl.SourceFile Property

Visual Basic example

Syntax

object.SourceFile As String

Remarks

Gets or sets the media source file name, URL or UDP address.

This property allows the user to set the media data source to the specified file name, URL or UDP address. The ResetSource method should be called to stop the play control from accessing the file. The SourceType will be set to ltmmPlay_Source_File. For more information on the ltmmPlay_Source constants, refer to ltmmPlay_Source Constants.

The filename can be used to indicate a regular file or a stream. For more details on the filename syntax, refer to: SourceFile syntax.

Assignment could raise an error exception. For more information, refer to Error Codes.

See Also

Elements:

ltmmPlayCtrl.SourceType Property, ltmmPlayCtrl.ResetSource Method

Topics:

ltmmPlayCtrl Object, SourceFile syntax