how to show a tree view of files and folders in ms access using vba

How to show tree view of files and folders starting from a specific directory.

Also whne I get inot files I want to be able to open that specific file.
maximyshkaAsked:
Who is Participating?
 
maximyshkaConnect With a Mentor Author Commented:
I found what i was looking at the url below. Very nice written code.

http://www.access-programmers.co.uk/forums/showthread.php?t=102667

I had a need to make it within a form for a security reasons. User chave to be directed to a specific folder and ONLY that folder. I did not want to expose any other directories or explorer functionalities.
0
 
Rey Obrero (Capricorn1)Commented:
0
 
maximyshkaAuthor Commented:
i need to see a treeview of diirectories and files but not data from db
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
Rey Obrero (Capricorn1)Commented:
just use the window explorer...
0
 
maximyshkaAuthor Commented:
how do i insert windows explorer in access form?
0
 
Rey Obrero (Capricorn1)Commented:
why do you need to insert it, you can open it with

followhyperlink "c:\"

that will open the window explorer  in c:

followhyperlink "C:\Program Files"

opens the window explorer to Program files folder
0
 
Jeffrey CoachmanMIS LiasonCommented:
<No Points wanted>

I agree with capricorn1,

<Also whne I get inot files I want to be able to open that specific file. >
...then all you have to do to open the file is simply right-Click the file and select: Open
0
 
Rey Obrero (Capricorn1)Commented:
the answer you found, will only display your folder and files.

will you still use it?
0
 
maximyshkaAuthor Commented:
It is also allows double click on files to open it. So it works
0
 
maximyshkaAuthor Commented:
All other answers did not provided what i was looking for. I have found answer myself.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.