Search Records in CSV or Text Files with VB π
Learn how to read and search for records in CSV or text files using Visual Basic, including deleting specific entries.

Max O'Didily
5.5K views β’ May 31, 2020

About this video
Reading From a CSV or a Text File and Searching for a Record in Visual Basic
Greetings, today we shall be looking at how to delete a record from a file using Visual Basic. To delete a record, we create a new file, loop through the old file and write every record to the new file, apart from the record or records we wish to delete. After looping through the whole file, we delete the old file and rename the new file to the name of the old file to give the illusion of deleting a record, when we actually copied everything apart from what we want to delete to a new file. I hope you enjoy and thanks for watching!
Subscribe to keep notified when I upload:
https://tinyurl.com/SubMaxODidily
Reading From a CSV or a Text File and Searching for a Record in Visual Basic
Greetings, today we shall be looking at how to delete a record from a file using Visual Basic. To delete a record, we create a new file, loop through the old file and write every record to the new file, apart from the record or records we wish to delete. After looping through the whole file, we delete the old file and rename the new file to the name of the old file to give the illusion of deleting a record, when we actually copied everything apart from what we want to delete to a new file. I hope you enjoy and thanks for watching!
Subscribe to keep notified when I upload:
https://tinyurl.com/SubMaxODidily
Reading From a CSV or a Text File and Searching for a Record in Visual Basic
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
5.5K
Likes
41
Duration
7:55
Published
May 31, 2020
User Reviews
4.1
(1) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now