CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005
    Posts
    282

    Fast Possibiliy to Display e.g. last 1000 lines of text

    Hello,

    I have a question. At the moment I make a logging framework and for that I have to display (in realtime) in a window the last 100 lines of Text.What is the best solution to do that?
    At the moment I use a Queue...what is the best solution to display text (TextBox?), which takes a lot of lines?

    Best regards

    Hansjörg

  2. #2
    Join Date
    Mar 2006
    Location
    Craiova, Romania
    Posts
    439

    Re: Fast Possibiliy to Display e.g. last 1000 lines of text

    Quote Originally Posted by hansipet
    Hello,

    I have a question. At the moment I make a logging framework and for that I have to display (in realtime) in a window the last 100 lines of Text.What is the best solution to do that?
    At the moment I use a Queue...what is the best solution to display text (TextBox?), which takes a lot of lines?

    Best regards

    Hansjörg
    I can find an alternative for the moment but if you are going with collections use the generic ones because are faster.
    Bogdan

    If someone helped you then please Rate his post and mark the thread as Resolved
    Please improve your messages appearance by using tags [ code] Place your code here [ /code]

  3. #3
    Join Date
    Jan 2007
    Posts
    491

    Re: Fast Possibiliy to Display e.g. last 1000 lines of text

    The same question was asking in the previews 2-3 weeks. Take a look at the threads, you'll find it.

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