Yes, I am... I just neglected to include it.Are you incrementing the intCounter?
I can't believe the solution was as simple as encasing the parameter of the 'while' keyword in parentheses!
Here's the working code:
[VBA]
private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
Int16 intCounter = 0;
Int16 intArray[] = {1,2,3,4,5};
do
{
String^ strMsg = gcnew String(intArray[intCounter].ToString());
MessageBox::Show(strMsg);
intCounter ++;
}while (intCounter < 5);
}
[/VBA]