Annc.Store

[This is preliminary documentation and subject to change.]

The Store method saves an announcement to a file. This file can then be broadcast to clients during an announcement event.

Syntax

object.Store( sFilename )
 

Parts

object
Object expression that resolves to an Annc object.
sFilename
String that contains the path and filename of the file in which to store the announcement. By convention, announcement files use the extension, .ann.

Remarks

Announcements can be stored as a text file and then broadcast to the client at a later time. The Annc.Store method saves the attributes of an announcement from an announcement object to an announcement file. The announcement can then be transmitted to clients during an announcement event.

For more information about the format of announcement files, see Enhancement Announcement Format.

Examples

The following example stores an announcement in the file MyAnn.ann. The values of the announcement's attributes are the values specified in the properties of the announcement object.

ann.Store "MyAnn.ann"
 

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in stream.idl.
  Import Library: Included as a resource in stream.dll.
  Unicode: Yes.

See Also

Creating Enhancement Announcements, Enhancement Announcement Format, Annc.Clear, Annc.Load