This tutorial explains in detail how you can open text files in different formats and read them into your Visual Basic program.
www.vb6.us