Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Posts
    10

    Unanswered: Setting password for folders

    Hi all

    It is possible to set password for the folder thru VB. I am
    having Database folder and store all my tables in (.dbf vfoxpro
    files) that folder. I want to protect the folder so that i
    should not open thru windows explorer, but thru application i
    want to handle the database file(such as
    adding,deleting,modifying records). I am working in windows 2000 environ.My front end is VB backend is visual foxpro 6.0

  2. #2
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    You should be able to do so using the WMI ChangeSecurityPermissions (or ChangeSecurityPermissionsEx) method.
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


Posting Permissions

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