VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



ChangeResini

by Troy Mac (2 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

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
Code 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

Upload

Download this snippet    Add to My Saved Code

ChangeResini Comments

No comments have been posted about ChangeResini. Why not be the first to post a comment about ChangeResini.

Post your comment

Subject:
Message:
0/1000 characters