PRB: ChDir or ChDrive Won't Change File / Directory List BoxesLast reviewed: June 21, 1995Article ID: Q86279 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, versions 2.0 and 3.0- Microsoft Visual Basic programming system for Windows, version 1.0
SYMPTOMSUsing 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.
RESOLUTIONTo change the contents of a file list box or directory list box, set its Path property instead of using the ChDir or ChDrive statement.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior:
|
Additional reference words: 1.00 2.00 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |