Results 1 to 19 of 19

Thread: * RESOLVED * Notepad vs. Wordpad

Threaded View

  1. #1

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186

    * RESOLVED * Notepad vs. Wordpad

    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:
    1. Open .FileName For Input As #1
    2. Do While Not EOF(1)
    3. Input #1, lineArray(i)
    4.    i = i + 1
    5. Loop
    Last edited by run_GMoney; Mar 2nd, 2004 at 05:03 PM.
    Place Your VBForums Ad Here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width