Struggle to read a .txt file into TextBox?

Discussion in 'Questions (Windows Mobile)' started by HARRY, Feb 26, 2008.

  1. HARRY

    HARRY Active Member Licensed User


    I create a small .txt file with text and TAB's and CR/LF. No other formatting data. Safe it as UTF-8

    Does somebody have a sample how to read that file into a textbox. I tried several possibilities with and without the binary file dll, but do not succeed. Frequently the message, translated, : Can not convert a DBasic.Other.CStreamReader into System.IO.Stream.

    I don't see the solution, but it should be simple, I guess.

  2. agraham

    agraham Expert Licensed User

    Read the the help under Help -> Main help -> Keywords -> Files. All the text file stuff is there. BinaryFile is, not surprisingly, only needed for manipulating non-text files.

    Attached Files:

  3. Erel

    Erel Administrator Staff Member Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice