Chapter 19 View contents of this chapter

Introduction

Today's lesson explains about the three special list boxes, which will help you in managing directories, drives, and files. Here are the descriptions of these special list boxes:

  • Directory List Box: Displays directories and paths at run time.
  • Drive List Box: Enables a user to select a valid disk drive at run time.
  • File List Box: Locates and lists files in the directory specified by the Path property at run time.

The Drive list Box

A Drive List Box control enables a user to select a valid disk drive at run time. Use this control to display a list of all the valid drives (local and remote, floppy, hard, and CD-ROM) in a user's system. The drive list box control first displays the drive from which the user launched the application. You can override this default drive by using VB code to point the control to another drive.



© Universal Teacher Publications        INDEX Previous Screen Next Screen