Open a directory from access (1 Viewer)

R

robb

Guest
Hi, I wish to open a folder/directory (not a file) using the onclick event of a cmdButton. Any ideas out there?

Robb:D
 

ghudson

Registered User.
Local time
Today, 10:20
Joined
Jun 8, 2002
Messages
6,194
Open or browse?

Browse [Find a directory or file]

This will open a new session of Windows Explorer to the C:Windows\Temp\ folder...
Code:
Call Shell("C:\Windows\Explorer.exe C:\Windows\Temp", vbMaximizedFocus)
Searching the forum is a great way to discover and learn the answers to your Access programming questions.
 

Users who are viewing this thread

Top Bottom