Change Screen Resolution

Category:
System/API
Type:
Snippets
Difficulty:
Beginning

Author: Anantha PAdmanabhan

Version Compatibility: Visual Basic 6

More information:
To change screen resolution. Uses 2 API call. "EnumDisplaySettings" and "ChangeDisplaySettings". The effects can be surprising so use with care. It also affects all running (and minimised) programs. Origianl Credit:www.allapi.net.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: