|
-
Oct 8th, 2012, 02:58 PM
#1
Thread Starter
PowerPoster
[RESOLVED] [WindowsXP or Seven] - why my laplop screen don't turn off?
i said windows xp or Seven, because is where i found the bug(on both windows).
i change, on energy options, for my screen(on my laplop) turn off. from begin(after install windows.. maybe 1 month) the screen turned off, but now isn't
can anyone explain to me how can i resolve these?
-
Oct 9th, 2012, 07:47 PM
#2
Re: [WindowsXP or Seven] - why my laplop screen don't turn off?
What brand of laptop is it?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Oct 10th, 2012, 05:01 AM
#3
Thread Starter
PowerPoster
Re: [WindowsXP or Seven] - why my laplop screen don't turn off?
 Originally Posted by Nightwalker83
What brand of laptop is it?
sorry... what means 'brand'?
i don't know why, but now works. i only build a program, on VB6, for turn off the screen. but by some reason resolve, i belive, the system bug.
but why these bug happens?
-
Oct 10th, 2012, 07:21 PM
#4
Re: [WindowsXP or Seven] - why my laplop screen don't turn off?
 Originally Posted by joaquim
sorry... what means 'brand'?
Who makes the laptop but other than that what model is it?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Oct 11th, 2012, 03:11 AM
#5
Thread Starter
PowerPoster
Re: [WindowsXP or Seven] - why my laplop screen don't turn off?
HP Compaq Presario CQ60-155EP
but was a system bug, now seems fixed.
thanks
-
Oct 15th, 2012, 03:11 PM
#6
Thread Starter
PowerPoster
Re: [WindowsXP or Seven] - why my laplop screen don't turn off?
i don't have sure how i fix the bug, but seems that my program resulve it
i wanted a program for turn off the screen after sometime. then i look for some code and i update it:
Code:
Option Explicit
Private 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
Const SC_MONITORPOWER = &HF170&
Const MON_OFF = 2&
Const WM_SYSCOMMAND = &H112
Private Sub procTurnOff()
SendMessage Me.hWnd, WM_SYSCOMMAND, SC_MONITORPOWER, MON_OFF
End Sub
Private Sub Command1_Click()
Timer1.Enabled = False
End Sub
Private Sub Command2_Click()
Timer1.Enabled = True
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyS And Shift = vbCtrlMask Then
Timer1.Enabled = False
End If
End Sub
Private Sub Timer1_Timer()
Call procTurnOff
End Sub
after use 1 or 3 times, i notice that the bug was resolved.
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|