CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Loading a Csv file to a RichTextBox.

    Could someone tell me if there is a way to load a .Csv file into a RichTextBox.
    Thanks!


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Loading a Csv file to a RichTextBox.

    There's a really simple way - the '.LoadFile' method of the RichEditControl, eg :


    RichTextBox1.LoadFile "c:\test.csv"




    - although somehow I think you probably want a little more than this.....


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

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

Featured