VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This Will Allow You To Set Any Files Attributes With This Code.

by Brandon Johnson (7 Submissions)
Category: Encryption
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 16th June 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This Will Allow You To Set Any Files Attributes With This Code.

API Declarations


Private Const FILE_ATTRIBUTE_ARCHIVE = &H20
Private Const FILE_ATTRIBUTE_COMPRESSED = &H800
Private Const FILE_ATTRIBUTE_DIRECTORY = &H10
Private Const FILE_ATTRIBUTE_HIDDEN = &H2
Private Const FILE_ATTRIBUTE_NORMAL = &H80
Private Const FILE_ATTRIBUTE_READONLY = &H1
Private Const FILE_ATTRIBUTE_SYSTEM = &H4
Private Const FILE_ATTRIBUTE_TEMPORARY = &H100



Rate This Will Allow You To Set Any Files Attributes With This Code.



'Archive, Compressed, Directory,Hidden,Normal,Read-Only, System, Or Temporary

Dim File
File = "What Ever File You Want!"
SetFileAttributes File, File_Atrributes_?

Download this snippet    Add to My Saved Code

This Will Allow You To Set Any Files Attributes With This Code. Comments

No comments have been posted about This Will Allow You To Set Any Files Attributes With This Code.. Why not be the first to post a comment about This Will Allow You To Set Any Files Attributes With This Code..

Post your comment

Subject:
Message:
0/1000 characters