Results 1 to 3 of 3

Thread: Text File

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Location
    Dallas,Tx,USA
    Posts
    30

    Post

    Visual Basic has a problem reading a line of text of a text file if the line starts with a number?

    Anybody know a way around this problem?


    Mark S

  2. #2
    Guest

    Post

    Dim qwe() as byte
    Open MyFile For Input as #1
    Redim qwe(1 to LOF(1))
    Get #1 , , qwe
    close #1
    'you got an array of bytes; to get a string
    'from it, do :
    Din MyStr as String
    MyStr = StrConv(qwe,VbUnicode)



  3. #3
    Guest

    Post

    not for Input... but For Binary as #1

    sorry

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