Hi,
I have a little problem with reading data from text file which has more than 5000 words. To make long story short, I need to make english to serbian translator.It has to have 2 text boxes,one for english word and one translation; one button for translating. I tried almost everything from this site but it works on a small number of lines, at 2000 and more computer frezzes. The biggest catch is that I have to read words from file into array and then i have to search the word... So if anyone could help me about this I would be really gratefull.
Thanks
bishop_kv
0
Newbie Poster
Recommended Answers
Jump to PostI don't see the problem. Of course, you didn't show us your code. The following works fine for my test file of around 5600 lines of text.
Dim lines() As String = System.IO.File.ReadAllLines("D:\temp\Asimov, Isaac - Elija Baley 01 - The Caves of Steel.txt")
All 3 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
bishop_kv
0
Newbie Poster
bishop_kv
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.