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

Thread: File I/O

  1. #1
    Guest

    File I/O

    I do have a file text look like that: data1,data2,data3
    and I do have more than 10 line. My question is:
    How can I display ONLY the second data (datea2) of each line inside list box control.
    Thank you for your help (example if you can)
    Mohammed.



  2. #2

    Re: File I/O

    Try using the Mid$ parsing function & and Instr. If you look those up in the help they'll give you an idea of how to do it. You'll also need to parse for vbCrLf


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