Writes station information to an .nsc file.
Syntax
NSChannelMgr.Channels(ChannelName).WriteNSC( FileName, Overwrite )
Parameters
FileName
A String value specifying the file name, including the path, or UNC. The filename must have an .nsc extension.
Overwrite
Boolean flag indicating whether or not the file can overwrite a file of the same name. TRUE indicates that the file can be overwritten.
Return Values
Returns an ActiveX HRESULT error code.
Example
' Write (or overwrite) an NSC station information file
' called OHLive.NSC.
NSChannelMgr.Channel.WriteNSC( "c:\public\OHLive.nsc", TRUE )
NSChannelMgr.Channel.WriteNSC( "\\astrid\public\OHlive.nsc", TRUE )
See Also
GetID, GetActiveStream, InitializeFromNSC, Close, DistributeFrom
© 1996-1998 Microsoft Corporation. All rights reserved.