Screen Resolution
'This code will tell you how to get our computer screen resolution 'just a few lines of codes..
AI
Résumé par IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Code source
'This code will tell you how to get our computer screen resolution
'just a few lines of codes..
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim DeskTop As System.Windows.Forms.Screen
Dim theWidth As Integer = DeskTop.PrimaryScreen.Bounds.Width
Dim theHeight As Integer = DeskTop.PrimaryScreen.Bounds.Height
MsgBox(theWidth & "x" & theHeight)
End Sub
Commentaires originaux (3)
Récupéré via Wayback Machine