FolderBrowserDialog.RootFolder displays desktop folders when you set it to non-desktop values (818459)
The information in this article applies to:
- Microsoft Visual Basic 2005
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual C# .NET (2003)
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows NT 4.0
SYMPTOMSYou create a FolderBrowserDialog control on a Windows form,
and you set the RootFolder property to one of the following values:
- CommonApplicationData
- CommonProgramFiles
- Cookies
- History
- InternetCache
- LocalApplicationData
- LocalApplicationData
- MyPictures
- ProgramFiles
- System
When you run the application on a computer that is running the Microsoft Windows
98 operating system or the Microsoft Windows NT 4.0 operating system, a Browse For Folder dialog box is
displayed with the folders on the desktop, instead of displaying the folders in
the selected RootFolder. CAUSE This is a limitation of the BrowseForFolder method on
the Windows 98 operating system and the Windows NT 4.0 operating system.
Note The BrowseForFolder method creates the BrowseForFolder dialog box. This dialog box allows the user to select a folder.STATUS This
behavior is by design.REFERENCESFor more information, visit the following MSDN Web
site:
Modification Type: | Minor | Last Reviewed: | 10/3/2006 |
---|
Keywords: | kbvs2005applies kbvs2005swept kbprb kbProperties kbdisplay kbWindowsForms kbDirectory kbdir kbCtrl kbControl KB818459 kbAudDeveloper |
---|
|