char* to String^
-
Hi all, I got a small trouble, If some one know how to do please tell me, many thanks. I want to assign szData value into textBox->Text, but two kind of variable different type. I used Visual Studio 2005, and deverloped VC++ language.
private: System::Windows::Forms::TextBox^ textBox; private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { char* szData = "abcabcabcabc"; textBox->Text = //Content of szData variable. }
-
Hi all, I got a small trouble, If some one know how to do please tell me, many thanks. I want to assign szData value into textBox->Text, but two kind of variable different type. I used Visual Studio 2005, and deverloped VC++ language.
private: System::Windows::Forms::TextBox^ textBox; private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { char* szData = "abcabcabcabc"; textBox->Text = //Content of szData variable. }
-
Hi all, I got a small trouble, If some one know how to do please tell me, many thanks. I want to assign szData value into textBox->Text, but two kind of variable different type. I used Visual Studio 2005, and deverloped VC++ language.
private: System::Windows::Forms::TextBox^ textBox; private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { char* szData = "abcabcabcabc"; textBox->Text = //Content of szData variable. }
Please ask on this forum (Managed) C++/CLI[^].
-
NS17 wrote:
Seems you are in wrong forum...
he he he!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
NS17 wrote:
Seems you are in wrong forum...
he he he!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You