VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

ChangeResini

Troy Mac  (2 Submissions)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This code will show you how to save the current Screen Resolution and colors to an ini file then change the resolution to a resolution you specify. On exit of the Form the program will read the ini file and change the screen resolution back to those parameters... This would be great for programmers writing games that need a specific resolution to run. thanks to Steve Anderson for his tutorial on resolution changes...

Inputs
None except Hard coded resoultion change.

Assumes
Some systems may need to be rebooted for resoulution change. It depends on the way you have your system

Returns
nothing

Side Effects
Sometimes the desktop icons get re-arranged. This has only happend once to me but I figure I should mention it... Oh it has happen to me when changing it through windows display properties also.

API Declarations
In code

Rate ChangeResini (4(4 Vote))
ChangeResini.bas

ChangeResini Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters