Link to home
Start Free TrialLog in
Avatar of Orca
Orca

asked on

TListView question

I'm trying to create an interface for selecting a saving location using a TListView.  Basically what I'd like for the user to see if what they would see if they opened up My Computer (local drives, mapped drives, etc.).  How do I do that?  I've searched for ListView and found a number of ways to add items to the view and their icons, but nothing about pulling resources such as mapped drives and the like.  Bascially I want to recreate the My Computer display within my program.

Tips and code would be greatly appreciated.  Thanks in advance.
Avatar of inthe
inthe

hi
i have a package of components that are wrappers around shellfolder calls.
one of the comps it has is called TkbBrowseForFolderDialog. which you call with the normal  .execute method.

you can change the rootfolder to dexktop / favorites/network etc and has a canexpanddomains propertie..
well anyway it does all that you need including showing mapped drives so would you like it?
Regards Barry

Avatar of Orca

ASKER

InThe,

Your package sounds great.  I probably should have specified that I'm using Delphi 4.0. Is that a problem?  Is there a way that I can have the user select a directory location and have the path, etc. returned so that I can use that location information later?

If all of the above works out, then I'd be very interested in your package.  Is there a cost (other than the 200 points)?

Add a comment on how I can go about contacting you for this.

Thanks.
Eavesdropping...
i also use d4 and they work fine:
send me a email :

BorgsAssimilate@Aol.Com

and i send a reply back with the comps.
or leave your email address here and i send you them.
Regards Barry

ps
raymond
 whats holding the windows up :-))
oh and no there no cost it was a demo comps someone made for the showing of shellfolders etc..full sources included..
Have you tried the borland demo example included with Delphi ?

Regards
and yes you can get the path of the selected directory.
ive made a small demo to demonstrate what you want.
Barry: :-)
InThe

I will be happy if you mail it to me

hamidhossain@hotmail.com
have sent to both orca (he has emailed me) and hamidhossain.



merry XMas .
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Orca

ASKER

Thanks for the comps, it was exactly what I was looking for.  Works great.

Happy holidays!