Community discussion

Show/Hide Desktop Icons

This is a comment thread discussing Show/Hide Desktop Icons
  • 2 years ago

    Hi
    How to get each line from the multiline textbox in vb.net

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 2 years ago

    This is the code in C#:


    for(int i =0;i<textBox1.Lines.Length;i++)
    {
    MessageBox.Show(textBox1.Lines.ToString());
    }


    The logic is,


    the textbox,internally consists of an array called Lines that constitutes each line in the multiline textbox.


    ll help u.GOODLUCK

Post a reply

Enter your message below

Sign in or Join us (it's free).