Windows Media Services SDK banner art
PreviousNext

Stream.Seekable Property

Returns a Boolean value indicating whether the stream is seekable.

Syntax

NSChannelMgr.Streams(Index).Seekable

Example

MCM.Channels.Open( "MyStation", MCM_PA_ALL_ACCESS )
Dim MyStream
' Open stream "Welcome" with read access
Set MyStream = MCM.Streams.Open ("mms://nsserver/welcome.asf", _
               "Welcome", MCM_PA_READ)
MyStation.SetActiveStream MyStream
If MyStream.Seekable Then
  MyStream.Start 5000 ' Skip first 5 seconds
Else
  MyStream.Start 0    ' Start at the beginning
End If

See Also

Stream.Alias, Stream.ContentType, Stream.Source, Stream.Title, Stream.Description, Streams Collection Object, Stream Objects

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.