• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • 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

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

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