I believe you can do it with Settings.exe, or do you mean while playing?
either will do. settings.exe does not allow me to change the resolution