Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening windows explorer from a form 1

Status
Not open for further replies.

Handford

Technical User
Oct 4, 2005
19
GB
I have a database which lists events. Each event has a folder on the network drive associated with it. I was wanting to make it possible to have a button on the form which links the user to a windows explorer view of the required folder.

I have put in a text field (called "Folder Address") which takes the path to the required folder. I have also made a button called "OpenFolder".

However I can' make this button open the folder.

Please can you help.

Chris
 
You may try this in the Click event procedure of the button called "OpenFolder":
Application.FollowHyperlink Me![Folder Address]

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top