Change the Archive and Read-Only Attributes of a File

Category:
Files and Directories
Type:
Snippets
Difficulty:
Intermediate
Author:
Tinus Joubert

Version Compatibility: Visual Basic 5

More information:
If you use a network to store copies of files, you could use a function to switch the archive attribute off.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: