You could replace the code in your class with the below statement
hope this helps
posted 15 years ago
Thanks everyone for your help. I am not expecting people to spoonfeed me. I needed some help. I am new at this stuff and I have been staring at it for hours now. Sometimes the obvious is not that obvious. thanks again everyone for your help. It is MUCH APPRECIATED!!!
Originally posted by Anthony Vit: .... I have been staring at it for hours now. Sometimes the obvious is not that obvious...
Sometimes it is best to get away from your PC when you are stuck and do something completely different. It is strange how given a bit of a rest the brain can recover and spot the answer to a problem that for hours had seemed impossible.