Attributes (Dundas Upload Control 2.0)

Dundas

Attributes (NextFile Object)

Overview

This read-write property lets you retrieve or set the attributes of a file stored in a NextFile object.

Syntax

NextFileObject.Attributes = [long]

Part

Description

long

A long which determines the attributes of the file in question.

  Remarks

To set this property make sure that you call either Save or SaveToMemory AFTER the attributes have been set. To set or retrieve a file's attributes AFTER the file has been saved to disk or memory use the Upload control's GetAttributes and SetAttributes methods.

A file's attributes can be any of the following values or any logical combination of the following values:

Value

Description.

0

No attributes are set.

1

Read-only file.

2

Hidden file.

4

System file.

8

Disk drive volume label.

16

Folder or directory. Attribute is read-only.

32

File has changed since last backup (archive). Attribute is read/write.

64

Link or shortcut. Attribute is read-only.

128

Compressed file. Attribute is read-only.

 
See Also:
GetAttributes | SetAttributes