BUG: FileListBox Display Inconsistent Between Win95 and NT 4

ID: Q184247


The information in this article applies to:


SYMPTOMS

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


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a standard EXE project. Form1 is created by default.


  2. Place a FileList box (File1) on Form1.


  3. Place a CommandButton on Form1 and place the following code in the click event:


  4. 
    File1.Path = "c:\" ' folder that contains files without extensions.
    File1.Pattern = "*." 
  5. Press the F5 key to run the application on Win95 and note that all the files are displayed in the FileListBox. Run the same application on NT 4 SP3 and note that only files without extensions are displayed in the FileListBox.



REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

Q196141 PRB: Problems Using Intrinsic File System Controls

Additional query words:


Keywords          : kbListBox kbVBp kbVBp500bug kbVBp600bug kbWinOS98 kbGrpVBDB kbDSupport 
Version           : WINDOWS:5.0,6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 2, 1999