I am so confused by all the descriptions of different Visual C++ stuff, API, MFC, I don't even know how to tell you what I am trying to use - other than:
I created a Windows Form Application using Visual C++ 2005 Express Edition.
I have a textBox1 which is populated by OpenFileDialog, which is to be the input file.
I have a textBox2 which is textBox1 with a different extension on the filename, and a button.
When I press the button I want to:
get a filename from OpenFileDialog and put the name in textBox1 // Works fine
modify that in textBox1 into textBox2 //Works fine
open the file in textBox1 to read the text in the file // stumpted
read text into a string or char variable // stumpted
write text from a string or char variable to the output file listed in textBox2
// if I could do above I could probably figure it out.
Thanks for all help.