I am using
Declare Function GetSystemMetrics Lib “user32” (Byval nIndex As Long) As Long
Private Const SM_CXSCREEN = 0
Private Const SM_CYSCREEN = 1
screenHeight = GetSystemMetrics( SM_CYSCREEN )
screenWidth = GetSystemMetrics( SM_CXSCREEN )
to get the screen resolution on windows clients and that works fine, but I have been unable to create an equivalent on a Linux client.
Any ideas?