Read/Write a ListBox to a File (Tutorial Application)
Category:
Files and DirectoriesType:
ApplicationsDifficulty:
BeginningAuthor:
AnonymousVersion Compatibility: Visual Basic 6
More information:
This is tutorial for a College VB Programming Course:
Learning Objectives for the Lesson:
- How to read/write a file into a ListBox
- How to prevent error if file doesn't exist
- How to call a function for Path to file
- How to use a Global Variable for name of file
- 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