Results 1 to 4 of 4

Thread: viewing unix made files in a text box

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 1999
    Posts
    16

    Post

    im trying to download a file that was created on my server. but each time i do it with the inet control it returns the file on one line with a black | character which i beleave is the unix carragereturn. any one have anyidea on what that character is or how to return the exact file like it would be seen in windows?

    Thanks, SW

  2. #2
    Guest

    Post

    You can use a constant called vbNewLine to handle this for you (I've heard). The issue is chr$(13) and chr$(10). One system uses both while the other uses only chr$(13).
    I also was frustrated when writing a vb client to talk to a unix server due to this.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 1999
    Posts
    16

    Post

    Thanks VirtuallyVB. it worked. i still get that | but it reads it from a richtext to a list box. so thats all i needed. thanks again

    SW

  4. #4
    Guest

    Post

    Glad I could help.

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