Visual Basic Reference

Visual Studio 6.0

Archive, Hidden, Normal, System Properties

See Also    Example    Applies To

Return or set a value that determines whether a FileListBox control displays files with Archive, Hidden, Normal, or System attributes.


object.Archive [= boolean]

object.Hidden [= boolean]

object.Normal [= boolean]

object.System [= boolean]

The Archive, Hidden, Normal, and System property syntaxes have these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Boolean A Boolean expression that specifies the type of files displayed, as described in Settings.


The settings for boolean are:

Setting Description
True (Default for Archive and Normal) Displays files with the property's attribute in the FileListBox control.
False (Default for Hidden and System) Displays files without the property's attribute in the FileListBox control.


Use these properties to specify the type of files to display in a FileListBox control, based on standard file attributes used in the operating environment. Setting any of these properties with code at run time resets the FileListBox control to display only those files with the specified attributes.

For example, in a find-and-replace operation you could display only system files by setting the System property to True and the other properties to False. Or, as part of a file backup procedure, you could set the Archive property to True to list only those files modified since the previous backup.