hey i just moved over from visual basic too c++ and im making a little prog to see what i can do, in a portion of my progr i want the user to enter the word "press" and press the button next to it and then the textbox would say "pressed"
in vb the code would be:
If text1.text = "press" then text1.text = "pressed"
now, in C++ i put in this code:
if(textBox5->Text == "press"
{
textBox5->set_Text("pressed"
}
but that doesnt work, it compiles but doesnt work in the program, please help if possibal, thanks guys
note: im using C++ .net 2003, and this is a win32 app, NOT a console app
in vb the code would be:
If text1.text = "press" then text1.text = "pressed"
now, in C++ i put in this code:
if(textBox5->Text == "press"
{
textBox5->set_Text("pressed"
}
but that doesnt work, it compiles but doesnt work in the program, please help if possibal, thanks guys
note: im using C++ .net 2003, and this is a win32 app, NOT a console app