Add text from StreamReader to TextBox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • reddevil840
    New Member
    • Jan 2008
    • 1

    Add text from StreamReader to TextBox

    HI ALL


    Plase help Me

    I WANT TO ADDING TAXT FROM StreamReader TO TEXT BOX

    will can ?
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    So what is the problem and what you have tried so far ?

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      And in what version of VB?

      Comment

      • jamesd0142
        Contributor
        • Sep 2007
        • 471

        #4
        [code=vbnet]
        Function Readfile(ByVal abc)
        Dim EntireLine As String
        Dim oFile As System.IO.File
        Dim oRead As System.IO.Strea mReader
        oRead = oFile.OpenText( "C:\text123412. txt")
        EntireLine = oRead.ReadToEnd
        oRead.Close() 'test line
        Return EntireLine
        End Function
        [/code]

        Comment

        Working...