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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File I/O on Windows application

Status
Not open for further replies.

skarosi

Programmer
Jan 25, 2004
140
GR
Hi all,
I am quite new to visual programming, and i am trying to read a text file and display the contexts to a label or text box.
I know the commands in C++ , for example
Code:
inFile.open( “in.txt” );
while(!inFile.eof())
inFile.getline(line,10);
but how about a textBox?

any ideas?
thanks
 
Are you using MFC, .NET, raw Win32 API calls or some other GUI library?
 
I am not sure what you are talking about. I just create a new form and try to learn something out of it.
I figured that out but i have a problem writing a string from a text box to the file. I can write a string variable, but it seems that i have a problem with text boxes.

A more important problem though is that i am trying to create a client server application and i get an error on this function
sendto(...) which is what i used to do in C++
Apparently a lot of things are different in visual c++

any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top