Use a text file to lists of data - Visual Basic .NET

Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013

This tutorial will show you how to use a text file as a database to store your data in :


We will use the same steps as in the dictionary tutorial to retrieve data from a text file instead of putting every single word in the codes:

We will also add a button to add more words to the dictionary.

Add a label, textbox and a button to the form. Change the text of the label to Word, and change the text of the button to Search.

Add another text box to the form and change it's property to Multiline:

Resize the textbox you just added and add a label above it. Change the label text to Definition:

Add a listbox to the form and place it like the picture below:

Page: 1 2

Share This

Home | About | Contact | Privacy Policy

Copyright 2017 - All Rights Reserved.