 |
|
|
 |
|
 |
How can I really turn off the monitor? The equivalent to pressing the Power button on my monitor, meaning to power it down completely so that the user needs to press the monitor's power button to reactivate the monitor.
Thanks.
|
|
|
|
 |
|
 |
Thank you so much. That's the exactly information I'm looking for. Thank you.
Kevin
|
|
|
|
 |
|
 |
HI
I want to turn off the monitor when ever the user comes out of the client system from the server directly. The client monitor should be 'on' when ever the monitor on/off button is pressed. when the monitor is 'on' the desktop icons should be in disabled, and a login button has to appear for the user to click on it, when ever the user clicks on login then the time has to be calculated from then to the monitor off.
Can any one give the c# coding for this along with namespaces that are to be used.
|
|
|
|
 |
|
 |
HI every one:
Is there any way of turning on the monitor only by using mouse not using keyboard?
That is in power management I set monitor to turned off after 10 minutes but once I press a key in key board then my monitor is turned on ,I don’t want that to happen. The monitor should be turned on only if I use my mouse.
Is there anyway of doing it using a .bat code or some software????
|
|
|
|
 |
|
 |
On your code monitor will ON when move the mouse.
But I want that monitor will not ON until I press Enter.
How can I do it?
|
|
|
|
 |
|
 |
This process is OS dependent so it's not possible to wake up a monitor only by pressing the Enter key.
|
|
|
|
 |
|
 |
Hi
My name is Sandesh. I am writing a code to blank the screen. The requirement is that the screen should be kept blank until a specific event is fired by the remote software(A VNC viewer).
I have seen the UltraVNC (code is available on net)(Server code which is not compiling). They have used a hook to desktop procedure. When the desktop procedure receives a WM_POWER or WM_POWERBROADCAST event they have taken some action so that the screen remains blank. Also the keyboard and mouse event are locked so that the windows remains in the sleep mode
and keyboard and mouse is locked.
Currenty I am working on the project, so I felt like sharing the information I have. If you find the solution please help me out...
Waiting for your responce.
kingmax_007@yahoo.com
|
|
|
|
 |
|
 |
Hi, My requirements are to keep the Monitor ON for the Lifetime of my App. So how can it be done?
Thanks...
|
|
|
|
 |
|
 |
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_SYSCOMMAND:
switch (wParam)
{
// disable screen saver and monitor power-saving mode
case SC_SCREENSAVE:
case SC_MONITORPOWER:
return 0;
}
break;
case WM_DESTROY:
PostQuitMessage(0);
return 0;
}
return DefWindowProc(hwnd, message, wParam, lParam);
}
|
|
|
|
 |
|
 |
Thanks for the Help. I'm coding in C# and am pretty new to it. If you can give me a C# equivalent then it would be easier for me. I'll try using DllImport("user32.dll") and then maybe use sendMessage function...
|
|
|
|
 |
|
 |
THis looks like a VB forum but I'm sure you guys will be able to help me out here.Please do read on. I made 2 batch files using poweroff3.0 by Jorgen Bosman and Wizmo By Steve Gibson for the following purpose 1.mute and turnoff the monitor -mute with wizmo, turnoff with poweroff 2.unmute and power on monitor - unmute with wizmo, turn on with poweroff the code for the two batch files is -----------------------batch file#1-------------------------- :: monoffmute.bat :: turn off monitor and mutes sound :: @ECHO OFF C:\poweroff monitor_off C:\wizmo mute=1 -----------------------batch file #2------------------------- ::mononsoundon.bat :: turn on monitor and un-mutes sound :: @ECHO OFF C:\poweroff monitor_on C:\wizmo mute=0 --------------------------------------------------- I then assigned 2 separate keys on my Pinnacle TV tuner (PCTV plus 110i) for running both above batch files. My problem is that the monitor turns off from the remote(and green light turns to amber on monitor), but turns back on because TV/VIDEO/MUSIC app is playing.any activity on the screen turns on the monitor.So the trick doesn't work as I envisaged.I want the monitor to stay turned off no matter what it is playing.It should turn on only when i press the button that i programmed to do so! br /> How do I achieve that? Thanks a lot for your time Neelesh Bhagwat If you have a suggestion please post or mail me on bhagwatnp2@gmail.com Neelesh "wannabe" HTPC enthusiast
|
|
|
|
 |
|
 |
hey guys im super new to all this coding stuff... and i thought it would be pretty neat to make a program where i press a button and monitor turns off...
so #1 wat do i do with that source thing i downloaded...wen i double click the files they open in c++ and i have no idea wat to do with that code...#2 can i make this work in vb6? any help would be great ty!!!
|
|
|
|
 |
|
 |
Choose an appropriate language and an appropriate book...
For C/C++ read this article [^].
|
|
|
|
 |
|
 |
First, thanks for the code.
Saved me some time looking up win api code
But what is really the diffence between standby and off?
I've tested both (I'm currently on my laptop) and can't see any diffence...
Regards,
Oyvind Eriksen
|
|
|
|
 |
|
 |
I have to say I don't ever know...
|
|
|
|
 |
|
 |
hi all,
i have impelemented by your method, it works fine, but not for below case:
while playing songs by mediaplayer (or other players), i manually switch monitor off by that funciton, it works till player change to next song.
anyway to keep it always blank unless only when i keypressed or mousemoved?
thanks
|
|
|
|
 |
|
 |
Take a look at Michael Dunn's post (FYI)...
|
|
|
|
 |
|
 |
Is there any way to change monitor's (display)brightness and contrast by code?
Thx for any help...
|
|
|
|
 |
|
 |
Did u got any updates on ur query, even im having the same need, help me out if u found a solution. thanks a ton!!
|
|
|
|
 |
|
 |
WmiSetBrightness Method of the WmiMonitorBrightnessMethods Class
The WmiSetBrightness method sets the display brightness of a computer monitor.
|
|
|
|
 |
|
|
 |
|
 |
Hmmm, obviously Raymond is right.
I wrote:
If you don't want to bother creating a window to send the message to, you can send the message to all top level windows (HWND_BROADCAST) or you can use GetDesktopWindow function sending the message to the desktop window.
So it's preferable to say "always create a window and use its handle" or if you don't want to bother creating a window to send the message to then don't use this method.
|
|
|
|
 |
|
 |
Great program! I like it.
And is there a similar solution to directly turn off a hard-disk?
I need such a small program for testing purposes!
Please help
|
|
|
|
 |
|
 |
Hi,
Can you use this to detect when a screen goes into a different power mode? I would like to make an application which pauses itself when the machine is unattended for a period of time and was going to use the screen going into power-save mode. I found the SENS COM+ interface which notifies an application of a bunch of useful things. I had assumed that the screensaver notification it delivers would also tell me about the screen blanking if the energystar setting is selected, but it doesn't.
|
|
|
|
 |