Results 1 to 5 of 5

Thread: Hiding a particular folder from view in DirListBox

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Posts
    95

    Hiding a particular folder from view in DirListBox

    I have a directory box and my dumpster folder... I don't want this folder to be seen by the user in this particular directory box.

    The path is app.path\dumpster

    can I hide that folder from being seen in the dirdirectory box?

  2. #2
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    Can you use SetAttr to change its attributes to Hidden?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Posts
    95
    would setattr hide it just in the visual basic view or outside of vb as well?

  4. #4
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    Outside as well.

    Unless the user selects "SHow Hidden Files and Folders" - in which case they can see it.

  5. #5
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068
    Just make a listbox hold the folders and link it to a real dirList with some good old code.

    Just a thought.

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