Results 1 to 8 of 8

Thread: [RESOLVED] VB6 More advanced Drive and Dir List Boxes Component

  1. #1

    Thread Starter
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Resolved [RESOLVED] VB6 More advanced Drive and Dir List Boxes Component

    Is there any advanced component i can use in VB6 for Directory listings. Im using two components now, for directories (DirListBox) and for drives (DriveListBox). Is there any other where those two components are merged into one? Maybe something like tree view?


  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: VB6 More advanced Drive and Dir List Boxes Component

    you can use a common dialog component, with showopen method,
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: VB6 More advanced Drive and Dir List Boxes Component

    Can i make some changes on the dialog. For example disable those text fields on the bottom? Just so user cannot type in, those can be visible but disabled.

    Edit: And i dont need files to bee seen, only directories.

    Edit2: This is used to chose the installation directory.
    Last edited by Dungeon Keeper; Dec 18th, 2008 at 06:18 AM.

  4. #4
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: VB6 More advanced Drive and Dir List Boxes Component

    Search for BrowseForFolder dialog, you should find tons of examples. It lets you choose any folder, optionally files too if you set the flag. It can have a button for creating new folders so it should be pretty much perfect for your needs.

  5. #5

    Thread Starter
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: VB6 More advanced Drive and Dir List Boxes Component

    Should i search for it on Google or VB6 Enterprise has it?

  6. #6

    Thread Starter
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: VB6 More advanced Drive and Dir List Boxes Component

    Oh that is API

  7. #7

    Thread Starter
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: VB6 More advanced Drive and Dir List Boxes Component

    I must examine those first, i never used those

    Thanx for replies.

  8. #8

    Thread Starter
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: VB6 More advanced Drive and Dir List Boxes Component

    Yes, this is exactly what i need. Thank you!

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