bonjour,
j'ai un problem d'exception voici le message
An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll c++
Additional information: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
j'ai essayé le traitement de l'exception et reste le même message
try {
label6->Text = String::Format("Description: {0}\nIP: {1}\nMasque: {2}\nAdapter: {3}",dev[comboBox1->SelectedIndex]->Description,dev[comboBox1->SelectedIndex]->Ip,dev[comboBox1->SelectedIndex]->Netmask,dev[comboBox1->SelectedIndex]->Adapter);
}
catch(Exception ^e)
{
MessageBox::Show("exception");
}
merci pour votre attention
Partager