actually, I tried that already, didn't work either. How about the code I posted that reads an icon file? Can you tell what is wrong with it?