Advertisement
4_2005-2006 Miscellaneous #167212

Screen Resolution

'This code will tell you how to get our computer screen resolution 'just a few lines of codes..

AI

Resumo por 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.

Código fonte
original-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
Comentários originais (3)
Recuperado do Wayback Machine