How do I get the number of pixels in the Y dimension of the current screen resolution without DX?
Printable View
How do I get the number of pixels in the Y dimension of the current screen resolution without DX?
yres = Picture1.Height / Screen.TwipsPerPixelY
Did you want the screen size in pixels ???
Code:Debug.Print Screen.Height / Screen.TwipsPerPixelY