[This is preliminary documentation and subject to change.]
The Load method loads an announcement from a text file into an announcement object.
object.Load( sFilename )
Announcements can be stored as a text file and then broadcast to the client at a later time. The Annc.Load method loads the attributes of an announcement from an announcement file into an Annc object. The announcement can then be edited. After your application has made changes, the announcement can be saved to file using the Annc.Store method.
If you are loading announcement data into an Annc object that already has values set for its properties, Load clears the old values before it loads the announcement data into the object.
For more information about the format of announcement files, see Enhancement Announcement Format.
The following example loads the announcement stored in the file MyAnn.ann into the object variable, ann,
ann.Load "C:\EnhFiles\Announcements\MyAnn.ann"
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.
Creating Enhancement Announcements, Enhancement Announcement Format, Annc.Clear, Annc.Store