Brian,
Screen resolution can be set using API call ChangeDisplaySettings, which changes the settings of the default display device to the specified graphics mode.
DECLARE INTEGER ChangeDisplaySettings IN user32;
STRING @lpDevMode,;
INTEGER dwflags
The first input parameter points to a DEVMODE structure, which makes this function rather difficult to be called under Visual FoxPro. Still it is possible.
There's a sample code (members area) on my web site:
How to change display settings: screen resolution, screen refresh ratehttp://www.news2news.com/vfp/?example=374True, this subject brings a discussion almost every time, whether one should adjust screen resolution or not.