Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading .CSV and displaying in MessageBox

Status
Not open for further replies.

Unrivaled1

IS-IT--Management
Feb 9, 2005
20
US
Ok, this should be a simple one (which is why I am clueless).

I have a .csv file with 700+ rows each containing 23 columns of text. All I need to do is referrence the file by specifying which row I want, pulling the entire row of 23 columns and outputting it to a MessageBox with each column being a single line of text in the MessageBox.

I'll be referring which row I want from a drop list. So I intend to use the Int associated which their selection (+1) to determine the row I will be pulling.

Any sample code illustrating the read from .csv would be greatly appreciated.
 
It seems this wasn't as simple a process as I thought. Anyone at all have any insight on this?
 
This turned out to be quite a stumper. Anyone know of other forums that cater to vc++ file access questions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top