PRB: ChDir or ChDrive Won't Change File / Directory List Boxes (86279)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q86279 SYMPTOMS
Using the ChDir or ChDrive statement to change the current directory
or drive does not change the listing of a file list box or a directory
list box. However, the list changes if you run the program a second
time in the VB.EXE environment.
RESOLUTION
To change the contents of a file list box or directory list box, set its
Path property instead of using the ChDir or ChDrive statement.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbprb KB86279 |
---|
|