This documentation is archived and is not being maintained.

File Attribute Constants for Visual Basic 6.0 Users

The following table shows the Visual Basic 6.0 File Attribute constants and their Visual Basic 2008 equivalents.

NoteNote:

For backward compatibility, you can still use Visual Basic 6.0 File Attribute constants in your Visual Basic 2008 code. For more information, see FileAttribute Enumeration.

Visual Basic 6.0

Visual Basic 2008 Equivalent

vbNormal

FileAttribute.Normal

vbReadOnly

FileAttribute.ReadOnly

vbHidden

FileAttribute.Hidden

vbSystem

FileAttribute.System

vbVolume

FileAttribute.Volume

vbDirectory

FileAttribute.Directory

vbArchive

FileAttribute.Archive

vbAlias

No equivalent

Show: