Results 1 to 3 of 3

Thread: Populating a text box

  1. #1

    Thread Starter
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670

    Post

    IF you use the RichTextBox control (it's on the components list) you can do

    RichTextBox1.LoadFile [filename]

    ------------------
    Mark "Buzby" Beeton
    VB Developer
    [email protected]



  2. #2
    Junior Member
    Join Date
    Nov 1999
    Posts
    27

    Post

    Thanks Buzby, worked great!

  3. #3
    Junior Member
    Join Date
    Nov 1999
    Posts
    27

    Post

    I need to populate a text box with the full contents of a text file. Then clear it and populate it with the next text file. What is the best way to read in pages of data from a text file into a text box.

    Thanks.

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