thanks,I'm aware of that copy mistake but I dont know why I have to comment out parts of the .bas file to get it to compile with this simple test code