ضع هذا الكود في Command مثلا .
Dim intWidth As Integer
Dim intHeight As Integer
intWidth = Screen.Width Screen.TwipsPerPixelX
intHeight = Screen.Height Screen.TwipsPerPixelY
MsgBox "Screen Resolution:" + Str$(intWidth) + " x" + Str$(intHeight)
تحياتي