button linked to a network folder?

daneo2k3

Registered User.
Local time
Today, 12:43
Joined
Nov 27, 2003
Messages
81
Hi can anyone help me i need a button to open and show you the contents of a folder on my network. Is there anyway off doing this i tried in a macro by doing a runapp but it wouldnt work. Can i do this without using the code? Cheers Dane
 
If you only want to open a session of Windows Explorer to a specific directory and you do not want to return a specific value from the users selection then this will do that for you...

Call Shell("C:\Windows\Explorer.exe C:\Windows\Temp", vbMaximizedFocus)

If you want to allow the user to browse a folder of their choice from within your db then you need to try this API...

API: BrowseFolder Dialog

You will need to search for the forum for more samples if you want the user to be able to select a specific file and use their selection "string" within your db because plenty have been posted.
 

Users who are viewing this thread

Back
Top Bottom