When you get compiler errors, you should post them with the code so we can see the errors.