Like i said, ive done it fine with MFC, setting the variable as a control variable for the text box then just assigning numbers to the variable later in the program. As far as i can see using .net forms i cant associate a variable with a text box. I can use text as a variable and it works fine, TextBox1->Text = myvariable, with int my variable and then TextBox1->Text = my variable i get Form1.h(863): error C2664: 'void System::Windows::Forms::TextBox::set_Text(System::String __gc *)' : cannot convert parameter 1 from 'int' to 'System::String __gc *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast. Ah, i didnt see the last line of the error, i guess thats casting from int to char with itoa right?