

- Wrestling mpire 2008 resolution not changing driver#
- Wrestling mpire 2008 resolution not changing code#
MsgBox( "Restart your system to activate the new resolution setting", MsgBoxStyle.OkOnly) MsgBox( "The Resolution was changed", MsgBoxStyle.OkOnly)Ĭase

Select Case Resolution.SetResolution(800, 600)Ĭase Resolution.SetResolution(OldWidth, OldHeight)Įnd Sub Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Private OldWidth As UInteger Private OldHeight As UInteger Private Sub Form1_FormClosing( ByVal sender As Object, ByVal e As ) Handles Me.FormClosing Private Resolution As New ResolutionChanger Here is the code: ( I added to the class a short example to show the usage of the class )
Wrestling mpire 2008 resolution not changing driver#
But this result is not an absolute guaranty that the resolution change was successful, it only means that the registery was updated and that the driver did not return anĮrror. But a lot of system are using some generic driver that are not perfectly adapted to recognize if the graphic hardware or the screen can actualy render this resolution successfuly Success: Means that the resolution was probably changed successfuly. But even if the result is success, the resolution will not change before you restart the system. The resolution and had a "Restart" result, if you change the resolution again before the system was restarted, you will get as result "Success". And it may also comes on some XP, Vista, Windows7 system (Usualy laptop system). This will always be if the windows version is 9x.

Restart: Means that this system need to be restarted for the new resolution to be active. ResolutionNotSupported: Means the resolution value passed as argument to the function represente a resolution not supported by the system Either the registery could not be updated or the driver returned an error The example gives you a class that change the resolution ant that return "Success/fail/restart/notsupported" to give the result of the resolution change attempt.įail: means that the resolution was not changed.
Wrestling mpire 2008 resolution not changing code#
However, if you realy need to do it here the code You should resize your control and font instead. First, I want to say that changing the resolution in somebody computer is usualy not welcome and you should avoid that as mich as possible.
