I am using a code to open a folder which is
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" ( _ ByVal hwnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long Private Const SW_SHOWNORMAL As Long = 1 Private Sub Command1_Click() ShellExecute Me.hwnd, "Open", "C:\TEST\", vbNullString, vbNullString, SW_SHOWNORMAL End Sub
But on the shell execute statement after i write Me. , i am not able to select hwnd.
Please let me know how i can get hwnd in the member selection list.
Admin Edit: Please use code tags when posting your code. Code tags are used like so =>