I am exporting a file from another program to be read into MSFlexGrid in my program. When the file is exported from my other program it defaults to a .DAT file. When I read this file with the Open Input #1 in my program it reads the entire contents of the .DAT file as 1 line? Why is this? If I open the .DAT file in WordPad and the save the .DAT file, my program reads the file a line at a time and works correctly.
Can someone enlighten me on what's going on and how I can read this file without having to open it in WordPad before running it through my program.