Opens the specified article in the currently selected
newsgroup.
Syntax
object.OpenArticle( Article,
[Options] )
Remarks
The OpenArticle method opens the specified article in the
currently selected newsgroup. The article data can be read using
the Read method, and once all of the data has been returned,
the CloseArticle method should be used to close the article
on the server. The following is a description of the arguments that
may be passed to the method:
- Article
- Number of the article to retrieve from the server. This value
must be greater than zero. The first available article in the
newsgroup can be determined by checking the value of the
FirstArticle property. The last available article in the
newsgroup is returned by the LastArticle property.
- Options
- An optional integer value which specifies one or more options.
This argument is reserved for future use and should be
omitted.
Return Value
A value of zero is returned if the method was successful.
Otherwise, a non-zero error code is returned which indicates the
cause of the failure.
See Also
FirstArticle
Property, LastArticle
Property, CloseArticle Method,
CreateArticle Method, Read Method
|