SelectGroup Method  
 

Selects the specified newsgroup as the current newsgroup.

Syntax

object.SelectGroup( GroupName )

Parameters

GroupName
A string which specifies the name of the newsgroup to select.

Return Value

A value of zero is returned if the method succeeds. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

Remarks

The SelectGroup method selects a newsgroup and updates the control with information about the group. The list of available newsgroups can be enumerated using the ListGroups method.

See Also

FirstArticle Property, GroupName Property, LastArticle Property, ListGroups Method