Maybe try using the correct compiler. That's not
C++
. Is it VB? In any case, please post formatted code, and make sure you've got the whole thing. This seems to start with a stray
{
(but VB isn't in my tool box, so maybe that's OK?), but:
End Class}; // Matches with opening brace
} // dangling brace