Results 1 to 4 of 4

Thread: File Attributes

  1. #1
    Guest
    Help me..... I have tryed to use the createfile api
    to set the file sttributes. but.... It wont work.
    I have used the api,. discoverd on the VB API web site.
    Could somebody send me or show me the solution for it.
    I need to set the Archive and Hidden and Readonly attributes of a file.

    -Kayoca Mortation

  2. #2
    Lively Member
    Join Date
    Jun 1999
    Posts
    120
    there's a standard vb function called
    SetAttr
    I think that's what you need...

  3. #3
    Lively Member
    Join Date
    Jun 1999
    Posts
    120
    sorry, it's a STATEMENT, not a function...
    for example:
    SetAttr varFile, vbHidden + vbReadOnly

  4. #4
    Guest

    Ohhh yes thank you.. :)

    And just thinking i was looking the hard way...


    -Kayoca Mortation

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