Microsoft KB Archive/184247

= BUG: FileListBox Display Inconsistent Between Windows 95 and Windows NT 4.0 =

Article ID: 184247

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Professional Edition
 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 5.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q184247



SYMPTOMS
When a FileListBox has its Pattern property set to "*." there is a discrepancy between how Windows 95 and other versions of Windows display the files. On Windows 2000, Windows NT and Windows 98, only files without extensions are displayed. However, on Windows 95, all files are shown.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior
 Create a standard EXE project. Form1 is created by default. Place a FileList box (File1) on Form1.  Place a CommandButton on Form1 and place the following code in the click event: File1.Path = "c:\" ' folder that contains files without extensions. File1.Pattern = "*."  Press the F5 key to run the application on Windows 95, and note that all the files are displayed in the FileListBox. Run the same application on Windows NT 4.0 or Windows 2000, and note that only files without extensions are displayed in the FileListBox. If you run the same application on Windows Me, "NULL" is displayed in a FileListBox.

