Private Sub Form_Load()
Dim x, y
x = Screen.Width / Screen.TwipsPerPixelX
y = Screen.Height / Screen.TwipsPerPixelY
MsgBox "您电脑的分辨率为:" & x & " * " & y
End Sub