Advertisement

07.13.2007 at 10:37PM PDT, ID: 22696088
[x]
Attachment Details

Read Simple Text File and Write it in Edit Boxes In Visual c++ 6.

Asked by namo21 in Microsoft Visual C++.Net

Tags: file, read, text, visual, write

Hi,
I am a newbie to visual c++ environment although i do programming in c++.
I am trying to read a filename from a file open dialog box and then  trying to read its contents so that they can be written to the exit boxes of a dialog based application.
 The file is a simple txt file and have integer or floating numbers one on each line. Now I want to read these numbers from the file and write them to edit boxes. Lets assume that variable associated with "i"th edit box is edit_variable_i. You can assume any name for the file to be read.

Can anyone provide with a piece of code that accomplishes this task.
I am in hurry for this project otherwise instead of asking code directly I would rather have asked for correcting  errors in my code.

BTW i m using Visual C++ 6.
Thanx in advance.

Start Free Trial
[+][-]07.13.2007 at 10:49PM PDT, ID: 19485993

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.14.2007 at 04:15AM PDT, ID: 19486460

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.12.2007 at 07:06PM PDT, ID: 19680993

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.19.2007 at 07:41PM PDT, ID: 19727939

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual C++.Net
Tags: file, read, text, visual, write
Sign Up Now!
Solution Provided By: Computer101
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32