You know how you can open a file in Notepad and it will display those square characters that are supposed to be carriage returns? Well Wordpad properly formats these characters. However, when I try to open this type of file as Input in Visual Basic, it doesn't recognize those characters just like Notepad. I'd like my Input statement to act like Wordpad does and recognize those special characters. Anyone know how to do that?
Here's the code:
VB Code:
Open .FileName For Input As #1 Do While Not EOF(1) Input #1, lineArray(i) i = i + 1 Loop




Reply With Quote