This code snippet will allow you to fetch the screen resolution. Put the code in the button named btnResol and see.
Private Sub btnResol_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles btnResol.Click
MessageBox.Show (System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width())
MessageBox.Show (System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height())
End
Sub
Comments