Question How to Connect Notepad as a Database

wowjen

Member
Joined
Dec 27, 2009
Messages
13
Programming Experience
Beginner
I am making a bookworm game as my project in school
and I wanted my words database to be in notepad,
but how can I connect and query using vb.net2008?:confused:

I got this idea from an online game
that the game database for restricted words are in notepad,
I also wanted to do that....:cool:

please, help... ^_^:)

tnx in advance!;)

by the way,
I'm looking for an english dictionary database,
I hope someone can give me a link to download...
(preferably in notepad or in SQL)...;):)

thanks again!;)
 

picoflop

Well-known member
Joined
Feb 25, 2009
Messages
158
Programming Experience
5-10
that the game database for restricted words are in notepad,
VERY unlikely ;)

The words are in a TEXT file. Usually if you double click a .txt file, it's opened with notepad.

The easiest way, would be:
Dim s() As String = System.IO.File.ReadAllLines("path")

If the file contains your words, you get all the words into an array of string.
 
Top Bottom