[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 137
  • Last Modified:

Changing the file properties on the disk

How can I change the read only access of a disk file into read and write mode through a VB program.
0
lesa
Asked:
lesa
1 Solution
 
watyCommented:
Change the needed attributes :

SetAttr "TESTFILE", vbNormal

SetAttr "TESTFILE", vbHidden + vbReadOnly      ' Set hidden and read-only
      
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now