ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB969885

The IFileDialog interface returns an incorrect folder path when you use both the IFileDialog::SetOptions method and the FOS_PICKFOLDERS parameter to select folders in an Open File common dialog box in Windows Vista or in Windows Server 2008

Consider the following scenario. You develop an application in which you use both the IFileDialog::SetOptions method, and the FOS_PICKFOLDERS parameter to select folders in an Open File common dialog box. However, in Windows Vista, or in Windows Server 2008, when you select a folder in the tree view of the dialog box, the IFileDialog interface returns an incorrect folder path. In this scenario the returned folder path contains two of the same selected folders.

For example, when you select “C:\Windows” from the tree view of the dialog box, the IFileDialog interface returns “C:\Windows\Windows”.

There is a download that resolves this issue. See Hotfixes for details.
32-bit Download: Contact Microsoft
64-Bit Download: Contact Microsoft

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB969885.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Related Posts