Originally posted by Aretha Clark:
I have tried to do this a few times and all i seem to do is mess up my code.
Could you be more specific? How is it messing up your code? Are you getting compile time errors? Runtime errors/exceptions? Is it just not doing what you want it to do?
If you can post the code for what you have tried, and what errors you are getting, it'd be a little easier to assist you.