Stream.Seekable Property

Returns a Boolean value indicating whether or not 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 Welcome
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, Stream objects

© 1996-1998 Microsoft Corporation. All rights reserved.