: Does anybody have a routine for detecting the PC's current screen resolution in VB? I have OCX's that do that at the moment, but I want to put my own little piece of code in, so that I don't have to include the OCX in the program. Thanx in advance.
Private Type RECT Left As Long top As Long Right As Long Bottom As LongEnd Type
dim vrect as rectdim screenhandle as long
Private Declare Function GetDesktopWindow Lib "user32" () As LongPrivate Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long
It looks like you're new here. If you want to get involved, click one of these buttons!