I just wanted to say thanks again for the help, I think I have figured it out. I ditched the rand() function and went with the System::Random class. Hear is what I came up with.....
Code:
private: System::Void newGame_Menu(System::Object * sender, System::EventArgs * e)
{ int Next( int maxValue);
System::Random* m_Random = new System::Random();
int newx = ship->Location.X;
int newy = ship->Location.Y;
Point newloc = Point(m_Random->Next(456),408);
ship->Location = newloc;
}
At first I could not figure out how to overload the next method to set a range but then it clicked.
Thanks
Chad