thanks, i created a totaly new project and copied my code into it, it seems to have fixed the problem it compiles now without problems.
is there any thing you think i left out to have the pic do what i setted out to do in my first post?