Don't bother doing it yourself: use the standard Windows File Open dialog.
See http://www.mvps.org/access/api/api0001.htm at "The Access Web" for a
complete example.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> Hi - is a tree view control the best to use as a browse box to select a
> path?
> If so, I need to load it with the directories and network drives etc - so
> how
> do I do that? Thanks - Jenny
Jenny - 28 Jun 2005 03:41 GMT
I don't want the file part though - I only want the user to select a path -
not a filename.
> Don't bother doing it yourself: use the standard Windows File Open dialog.
>
[quoted text clipped - 6 lines]
> > how
> > do I do that? Thanks - Jenny
Duane Hookom - 28 Jun 2005 04:12 GMT
Jenny,
Did you check the other code in the API section of the Access Web
http://www.mvps.org/access/api/index.html?

Signature
Duane Hookom
MS Access MVP
>I don't want the file part though - I only want the user to select a path -
> not a filename.
[quoted text clipped - 11 lines]
>> > how
>> > do I do that? Thanks - Jenny
Jenny - 28 Jun 2005 05:28 GMT
Thanks - that solved it! Have a good day.
> Jenny,
> Did you check the other code in the API section of the Access Web
[quoted text clipped - 15 lines]
> >> > how
> >> > do I do that? Thanks - Jenny
David C. Holley - 28 Jun 2005 08:08 GMT
Yes that is possible using the control.
> I don't want the file part though - I only want the user to select a path -
> not a filename.
[quoted text clipped - 9 lines]
>>>how
>>>do I do that? Thanks - Jenny