473,326 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

disable standby

Does anyone know how to disable standby and any other power saver settings
when my app is running? My app runs on computers that use touch screens and
there is a bug in the driver that doesn't register touchscreen input as input
so computers are going into standby when they shouldn't.
Nov 7 '06 #1
3 3930
You can do it in .NET, you can tell when it happens with
Microsoft.Win32.SystemEvents but you would need to find a WinAPI call to turn
it off

HTH

Ciaran O'Donnell

"Scott S." wrote:
Does anyone know how to disable standby and any other power saver settings
when my app is running? My app runs on computers that use touch screens and
there is a bug in the driver that doesn't register touchscreen input as input
so computers are going into standby when they shouldn't.
Nov 8 '06 #2
Is there a way to cancel the changing of the power modes when subscribing to
the PowerModeChanged event?
"Ciaran O''Donnell" wrote:
You can do it in .NET, you can tell when it happens with
Microsoft.Win32.SystemEvents but you would need to find a WinAPI call to turn
it off

HTH

Ciaran O'Donnell

"Scott S." wrote:
Does anyone know how to disable standby and any other power saver settings
when my app is running? My app runs on computers that use touch screens and
there is a bug in the driver that doesn't register touchscreen input as input
so computers are going into standby when they shouldn't.
Nov 8 '06 #3
Sorry, I meant to say you can't do it in .NET.
the best I have found is:
http://www.codeguru.com/cpp/w-p/syst...cle.php/c6907/
its a java/c++ implementation but its source sode so you should be able to
port it.

Ciaran O'Donnell

"Scott S." wrote:
Is there a way to cancel the changing of the power modes when subscribing to
the PowerModeChanged event?
"Ciaran O''Donnell" wrote:
You can do it in .NET, you can tell when it happens with
Microsoft.Win32.SystemEvents but you would need to find a WinAPI call to turn
it off

HTH

Ciaran O'Donnell

"Scott S." wrote:
Does anyone know how to disable standby and any other power saver settings
when my app is running? My app runs on computers that use touch screens and
there is a bug in the driver that doesn't register touchscreen input as input
so computers are going into standby when they shouldn't.
Nov 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mahesh Hardikar | last post by:
Hi , Oracle 8.1.7.0.0 on HP-UX 11.0 EMC2 Disk Array We are in a process of implementing DR Site using Standby Database feature of Oracle. We have tested it on 2 NT machines here & things are...
0
by: Cherrish Vaidiyan | last post by:
hello, Thanx for the suggestions on my Listener query. Now i am performing a simple work.. STANDBY DATABASE creation. I have followed the instraction from Oracle 9i Release 1 documentation...
0
by: Cherrish Vaidiyan | last post by:
sir, The following are the steps that i followed in setting up standby database on Red hat Linux 9. i am using Oracle 9i. i have followed the steps in this site : ...
0
by: Officer | last post by:
I want to setup standby database which reside on the same host with my primary database -dbSA is my primary and dbSB is my standby database. I select v$log as follows: SVRMGR> select...
2
by: blarfoc | last post by:
Hi, I have to disable a button on a aspx page after the user clicks it. I have to disable the button with javascript because the process takes 20 seconds to run the full course. I kno I need to...
6
by: shorti | last post by:
db2 8.1 fix pack 12 on AIX 5.3 This is a newly configured HADR machine. The HADR was up and running. I was 'playing' around some on the standby and did a db2 deactivate and things sort of went...
1
by: DILA | last post by:
Hi, I have included an embedded Real Player and an embedded Quick Time Player for streaming videos, in my web pages. I'm interested in searching for a method or a script to disable the...
0
by: Vinod Sadanandan | last post by:
STANDBY DATABASE MONITORING & PROTECION MODES (9iR2) This document is written for understanding and monitoring standby database configured with diffrent protection modes . MAXIMUM PROTECTION ...
4
by: Mark A | last post by:
I would like to make a split mirror copy of a HADR standby database. Please note that I do not want to create a standby with a split mirror of the primary, but I want to make a split mirror of the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.