Hi, all. Please, Help me. Its very important for me. I try to output a variable, type string, in TextBox. I tried everything that I could. But always the mistake. And i show you a file Form1.h in which i have got a problem.
That's my project
Code:private: System::Void button20_Click(System::Object^ sender, System::EventArgs^ e) { adding(); textBox1->Text = b.ToString(); } Read more: http://forum.codecall.net/topic/73059-transformation-error-i-can-not-output-a-variable-in-textbox/#ixzz2DEsO7nNeCode:void adding() { b = (textBox1.Text).ToString(); // b = (richTextBox1->Text).ToString(); /*CLargeNumber oLN1 = CLargeNumber(1000000); oLN1 -= CLargeNumber(2000000); cout << "Answer " << cout << oLN1.ToString() << endl; system("pause");*/ //Testing the LargeNumber class CLargeNumber oLN1(a); CLargeNumber oLN2(B); b=(oLN1+oLN2).ToString(); } Read more: http://forum.codecall.net/topic/73059-transformation-error-i-can-not-output-a-variable-in-textbox/#ixzz2DEsUjXhv


Reply With Quote
Bookmarks