Results 1 to 4 of 4

Thread: file attributes

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2000
    Location
    South Africa
    Posts
    25

    Wink

    can abybody plz tell me how to set the file attributes of a file through VB

    ag Hidden attribute + system file attribute + read only attribute

    plz help urgently
    Go Luke , and may the source be with you.

  2. #2
    Junior Member
    Join Date
    Aug 2000
    Posts
    27
    Code:
    SetAttr "FileName", vbReadOnly
    or you can use vbHidden or vbSystem

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2000
    Location
    South Africa
    Posts
    25

    Wink

    thanks

    but how do i change the settings back to what they were
    Go Luke , and may the source be with you.

  4. #4
    Junior Member
    Join Date
    Aug 2000
    Posts
    27
    Code:
    SetAttr "FileName", vbReadOnly = False

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width