Ok guys, ive cracked this one. Thought i'd share this with you to avoid the problem.
After a LOT of testing, cups of coffee and head scrating I know what the problem is.
At the time i reported the problem, i had put my system, clock back (for some other purpose nothing to do with this issue - for this explpanation lets say 15/7/07). I had prevously complied my project to a later date lets say 15/8/07.
I then inserted a messagebox.show command in my code (while my clock was 15/7/07)to test something and as you know it didnt work. Thats because when i pressed F5 it was using the old exe, ie 15/8/07. Even doing a build would not regenerate the exe file until i put my system clock back to what it should be (eg 15/8/07)
No errors - no warning messages!
Is this a bug or some wierd 'feature' ??
Thanks to everyone who replied.
Chris Anderson