VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



'opens any folder in windows explorer when you specify the correct folder name

by Brandon (46 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 29th September 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

'opens any folder in windows explorer when you specify the correct folder name

Rate 'opens any folder in windows explorer when you specify the correct folder name




Dim f_name As String
Dim i As Double
f_name = InputBox("Enter the name of the folder you wish to open", "Open Folder")
i = Shell("explorer " & "c:" & "\" & f_name, vbNormalFocus)
End Sub

Download this snippet    Add to My Saved Code

'opens any folder in windows explorer when you specify the correct folder name Comments

No comments have been posted about 'opens any folder in windows explorer when you specify the correct folder name. Why not be the first to post a comment about 'opens any folder in windows explorer when you specify the correct folder name.

Post your comment

Subject:
Message:
0/1000 characters