|
-
Dec 18th, 2008, 06:02 AM
#1
Thread Starter
Fanatic Member
[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?
-
Dec 18th, 2008, 06:05 AM
#2
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
-
Dec 18th, 2008, 06:14 AM
#3
Thread Starter
Fanatic Member
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.
-
Dec 18th, 2008, 07:03 AM
#4
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.
-
Dec 18th, 2008, 07:06 AM
#5
Thread Starter
Fanatic Member
Re: VB6 More advanced Drive and Dir List Boxes Component
Should i search for it on Google or VB6 Enterprise has it?
-
Dec 18th, 2008, 07:08 AM
#6
Thread Starter
Fanatic Member
Re: VB6 More advanced Drive and Dir List Boxes Component
-
Dec 18th, 2008, 07:10 AM
#7
Thread Starter
Fanatic Member
Re: VB6 More advanced Drive and Dir List Boxes Component
I must examine those first, i never used those 
Thanx for replies.
-
Dec 18th, 2008, 07:17 AM
#8
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|