this solution workes in XP, using VB6
Public Declare Function SendMessage Lib _
"user32" alias "SendMessageA" (ByVal hWnd As Long, _
ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Any) As Long
Public Const MONITOR_ON = -1&
Public Const SC_MONITORPOWER = &HF170&...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.