April 2002
Intermediate to advanced
688 pages
19h 51m
English
FileAttr Function
Microsoft.VisualBasic.FileSystem
FileAttr(filenumber)filenumber (required; Integer)Any valid file number
An OpenMode constant, as shown in the following
table:
|
Mode |
Value |
|---|---|
Input |
1 |
Output |
2 |
Random |
4 |
Append |
8 |
Binary |
32 |
Returns the file-access mode for a file opened using the FileOpen procedure
In VB 6, FileAttr includes a superfluous
returntype parameter that must be set to 1
or an error results. In VB.NET, the parameter has been eliminated.
Read now
Unlock full access