This documentation is archived and is not being maintained.

File Attribute Constant Changes in Visual Basic .NET

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

Note   For backward compatibility, the Visual Basic 6.0 File Attribute constants may also be used in Visual Basic .NET.
Visual Basic 6.0Visual Basic .NET Equivalent
vbNormalFileAttribute.Normal
vbReadOnlyFileAttribute.ReadOnly
vbHiddenFileAttribute.Hidden
vbSystemFileAttribute.System
vbVolumeFileAttribute.Volume
vbDirectoryFileAttribute.Directory
vbArchiveFileAttribute.Archive
vbAliasNo equivalent

See Also

Constant Changes in Visual Basic .NET | FileAttribute Enumeration | Constants and Enumerations

Show: