In the following thread:
http://www.anddev.org/having_a_simple_d ... t3537.html
"Thanks for your help mr snowflake but I just spotted the notepad tutorial and picked out bits from that so managed to get it working. I was just completely heading up the wrong road. "
Can you please describe what you did to fix your problem? Several of us would appreciate it.