' Algunos monitores no soportan el comando de "prender monitor", para eso solo mueve el mouse Private Const ENCIENDE = -1& Private Const APAGA = 2& Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long Private Sub ApagaEnciende(Valor As Boolean) If Valor = True Then Call SendMessage(Me.hWnd, &H112, &HF170&, ByVal ENCIENDE) Else Call SendMessage(Me.hWnd, &H112, &HF170&, ByVal APAGA) End If End Sub Private Sub Command1_Click() ApagaEnciende False Timer1.Enabled = True End Sub Private Sub Timer1_Timer() ApagaEnciende True Timer1.Enabled = False End Sub