I am using the following code to check for resolution
Is there any reason why it would say your resolution is not 1024 x 768 when Display Properties says it is?
VB.NET:
Dim intX As Integer = Screen.PrimaryScreen.Bounds.Width
Dim intY As Integer = Screen.PrimaryScreen.Bounds.Height
Me.Height = intY
Me.Width = intX
Me.Top = 0
Me.Left = 0
[SIZE=2]If (intX <> 1024 And intY <> 768) Then[/SIZE]
Is there any reason why it would say your resolution is not 1024 x 768 when Display Properties says it is?
Last edited by a moderator: