Results 1 to 5 of 5

Thread: How to show "Desktop" in DirListBox?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    How to show "Desktop" in DirListBox?

    hi,

    I'm trying to create my own file browse window for my app. The problem is that the DirListBox control does not show any folders that are not standard letters such as c:\, d:\ etc.. It will not show the Desktop or any folders attached to the Desktop, like My Computer, or My Network Places..

    How can this be accomplished without having to use the DialogBox control? Can I use a TreeView? How?

    Thanks,

    Dan

    Visual Studio 2010

  2. #2
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    you can't access my computer, and network neighbor hood, and the recyling bin, no matter what you do
    NXSupport - Your one-stop source for computer help

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    I don't think that is true. I have seen it done without using the Common Dialog Box control..

    Visual Studio 2010

  4. #4
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    well thats diffrent

    you can see the desktop by going to :

    c:\windows\desktop in win 95/98/ME
    and
    c:\documents and settings\username\desktop in win nt/2k/xp
    NXSupport - Your one-stop source for computer help

  5. #5
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    dbassettt74

    Why not use the Common Dialog Control?
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

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