Newbie!!
-
How can we open a folder? I need to open a window to show the contents of a folder..only could find how to open Files and Create Directories..
-
How can we open a folder? I need to open a window to show the contents of a folder..only could find how to open Files and Create Directories..
Use the ShellExecute API function Public 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 It opens all files and folders
-
How can we open a folder? I need to open a window to show the contents of a folder..only could find how to open Files and Create Directories..
Do you want to open the folder in an Explorer window, just like typing in C:\ in the Start/Run box? If so, all you need to do is the same thing, either using a Process object (VB.NET), or the other suggestion (VB6). Process.Start()[^] method RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome