Click here to Skip to main content
15,900,254 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionInter-process communications Pin
gapfulgence29-May-07 7:21
gapfulgence29-May-07 7:21 
AnswerRe: Inter-process communications Pin
Christian Graus29-May-07 12:44
protectorChristian Graus29-May-07 12:44 
GeneralRe: Inter-process communications Pin
gapfulgence29-May-07 13:02
gapfulgence29-May-07 13:02 
Questionerror to the input string..please help Pin
lavy288327-May-07 4:09
lavy288327-May-07 4:09 
AnswerRe: error to the input string..please help Pin
Christian Graus27-May-07 10:42
protectorChristian Graus27-May-07 10:42 
GeneralRe: error to the input string..please help Pin
lavy288328-May-07 1:36
lavy288328-May-07 1:36 
GeneralRe: error to the input string..please help Pin
Giorgi Dalakishvili28-May-07 2:29
mentorGiorgi Dalakishvili28-May-07 2:29 
GeneralRe: error to the input string..please help Pin
lavy288328-May-07 2:39
lavy288328-May-07 2:39 
If I make the code like this
private: System::Void ContainerWidthtextBox_TextChanged(System::Object^ sender, System::EventArgs^ e) {
W = Convert::ToInt32(ContainerWidthtextBox->Text);//, CultureInfo::CurrentCulture);
if(W <= 0)
{
MessageBox::Show("You must specify a Container Width greater than 0" , "Error", MessageBoxButtons::OK, MessageBoxIcon::Error, MessageBoxDefaultButton::Button1);
return

}
}


it's not working either..it put me the same error...but if I have in may interface another textbox let's say ContainerHeighttextBox and if I put the code like this.....

private: System::Void ContainerWidthtextBox_TextChanged(System::Object^ sender, System::EventArgs^ e) {
//the code was first here
}
}

private: System::Void ContainerHeighttextBox_TextChanged(System::Object^ sender, System::EventArgs^ e) {
//now I put it here
W = Convert::ToInt32(ContainerWidthtextBox->Text);//, CultureInfo::CurrentCulture);
if(W <= 0)
{
MessageBox::Show("You must specify a Container Width greater than 0" , "Error", MessageBoxButtons::OK, MessageBoxIcon::Error, MessageBoxDefaultButton::Button1);
return;

}

it's works but it's show me the messageBox after I introduce the value in the first textbox(it show me the messagebox at the seccond textbox not at the first where I need it )




lavi

GeneralRe: error to the input string..please help [modified] Pin
teejayem28-May-07 6:07
teejayem28-May-07 6:07 
GeneralRe: error to the input string..please help Pin
lavy288328-May-07 7:20
lavy288328-May-07 7:20 
GeneralRe: error to the input string..please help Pin
Christian Graus28-May-07 11:10
protectorChristian Graus28-May-07 11:10 
GeneralRe: error to the input string..please help Pin
lavy288328-May-07 22:30
lavy288328-May-07 22:30 
Questionclasses a few questions Pin
Xeef26-May-07 11:41
Xeef26-May-07 11:41 
AnswerRe: classes a few questions Pin
Xeef26-May-07 22:03
Xeef26-May-07 22:03 
AnswerRe: classes a few questions Pin
Christian Graus27-May-07 0:09
protectorChristian Graus27-May-07 0:09 
QuestionRETURN VALUE TO WHERE Pin
KARFER25-May-07 6:19
KARFER25-May-07 6:19 
AnswerRe: RETURN VALUE TO WHERE [modified] Pin
Mark Salsbery25-May-07 6:19
Mark Salsbery25-May-07 6:19 
AnswerRe: RETURN VALUE TO WHERE Pin
Christian Graus25-May-07 9:57
protectorChristian Graus25-May-07 9:57 
QuestionRe: RETURN VALUE TO WHERE Pin
Hamid_RT28-May-07 7:29
Hamid_RT28-May-07 7:29 
Questionhow do i remove a MouseEventHandler [modified] Pin
Xeef25-May-07 3:14
Xeef25-May-07 3:14 
Questionc++ coding Pin
farrakh25-May-07 0:17
farrakh25-May-07 0:17 
AnswerRe: c++ coding Pin
led mike25-May-07 5:09
led mike25-May-07 5:09 
GeneralRe: c++ coding Pin
Mark Salsbery25-May-07 6:19
Mark Salsbery25-May-07 6:19 
GeneralRe: c++ coding Pin
Mark Salsbery25-May-07 10:48
Mark Salsbery25-May-07 10:48 
AnswerRe: c++ coding Pin
Christian Graus25-May-07 9:58
protectorChristian Graus25-May-07 9:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.