![]() | ![]() | ![]() |
| ||
|
BrowseForFolder Method
Description
Creates a dialog box that allows the user to select a folder and then returns a Folder object that represents the selected folder.
Syntax
object.BrowseForFolder Hwnd, Title, Options, [RootFolder]
Parameter Description object Required. An object expression that evaluates to a Shell object. Hwnd Required. The handle to the window that will be the parent of the browse dialog box. This value can be zero. Title Required. A string value that represents the title that will be displayed inside the browse dialog box. Options Required. A long value that contains the options for the method. This can be zero or a combination of the values listed under the ulFlags member of the BROWSEINFO structure. RootFolder Optional. Specifies the root of the browse dialog. The user cannot browse higher in the folder architecture than this folder. If this value is not specified, the root of the browse dialog is the desktop. This value can be a string that specifies the path of the folder or one of the ShellSpecialFolderConstants values.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.