It works fine when I use _ChangeScreenResEx(1, 800, 600) but it sets @error to 1, and doesnt do anything. If I use _ChangeScreenResEx(1, 1366, 768) which is my default screen resolution, can someone help me with this? Thanks, Zef.