Hi every1
I have 1 problem about read text file
Hope every1 help

i have 1 text file example :list.txt as

12321
123412
123215
123
1235

Now We read file list and print line by line .Print line 1 after 10 s earse line 1 and print line 2 after 10s earse line 2 and print line 3 after 10s earse line 3 and print line 4.....Finish if EOF .Line print in a text box or label

Thk for help :)

Hi,
here you can find a code solving one part of your problem:
http://www.dreamincode.net/code/snippet318.htm

Just delete "Text1.Text = sText" and place "Text1.Text = sNextLine" instead of "sText = sText & sNextLine". And one line after use a Sleep(10000) function, declared when declaring variables as:

Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)
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.