Read/Write a ListBox to a File (Tutorial Application)

Category:
Files and Directories
Type:
Applications
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
This is tutorial for a College VB Programming Course:

Learning Objectives for the Lesson:

  1. How to read/write a file into a ListBox
  2. How to prevent error if file doesn't exist
  3. How to call a function for Path to file
  4. How to use a Global Variable for name of file
  5. How to use Form Load and Unload to save information, so user doesn't have to press buttons

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download vbplaylist.zip