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...
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...
Thanks dcompto! That did in fact work nicely. I need to see if I can mass-produce that effect for all of these text files, but if nothing else I now know it can be done.
Skip.. Do you mean assuming I have less than 256 columns??
As I stated in my original post, 20 lines per .txt file. That equates to 20 columns per row. I'm pretty sure the amount of rows I can have are nigh endless.
CorBlimey.. That would be the simplest way to go, and one I may yet have to...
Is there a way to import an msdos .txt file so that each line of text gets imported into a separate column within the same row?
For example: A .txt file with 20 lines of text all separated by carriage returns.. Imported into a single row within a spreadsheet, one line per column.
Any help...
I've started a new thread for this problem since my other post has died out with no resolution.
All I am looking to do is have my Edit Box automatically scroll down when the box fills with text and new text appearing goes off the screen. Some sample code illustrating this working would be great.
Ok, I now have a control variable assigned to the Edit Box in question: m_EDIT2a
It seems like I should be able to:
m_EDIT2a.LineScroll(1);
or
m_EDIT2a.SetWindowText->LineScroll(1);
Maybe I'm way off base here..
I guess I'm just not getting it..
The only place in my code that has class CWhatever: public CDialog is the CAboutDlg area.
I have a Vertical Scrollbar on my Edit Box window that was added via the Edit Box Properties under Styles. The ID for that Edit Box is IDC_EDIT2 and I've tried using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.