473,698 Members | 2,153 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Run after Stand By/Hibernation

I would like to start new application when Windows is resuming from Stand By
or Hibernation. Just like Startup folder or
SOFTWARE/Microsoft/Windows/Currentversion/Run registry entry.

Any suggestion?

jake
Sep 7 '08 #1
1 1312
>I would like to start new application when Windows is resuming from Stand By
>or Hibernation. Just like Startup folder or
SOFTWARE/Microsoft/Windows/Currentversion/Run registry entry.

Any suggestion?
You could have an application running in the background that handles
the SystemEvents.Po werModeChanged event.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Sep 7 '08 #2

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

Similar topics

2
2504
by: johnsto | last post by:
Anyone know if it's possible for a .NET program to detect if the system has just come out of hibernation? If so, how? :) I'm using C#. TIA
0
1317
by: Peter Sands | last post by:
Hi, I have setup a stand-by db2 DB server, I want to test the log shipping method. Do I just issue a 'list history..' on the source server to get the logs I need to ship. Then copy those logs across to the stand-by server's log directory and issue a 'roll forward' on the stand-by server.
3
6742
by: steve | last post by:
Is there anyway my AP can detect system goto Sleep, Hibernation mode, switch user and logoff?
5
9854
by: Steve Teeples | last post by:
Does someone have an example of C# code (VS 2005) that puts a system into hibernation or stand by and then after some period of time wakes up the system? I need to write a test that does this functionality. -- ----------- Thanks, Steve
0
2830
by: mike | last post by:
Sound problems resuming from Hibernation I have an MP3 player that plays MP3s off DVD. Uses mci sendstring errreturn = mciSendString("play sound", rs, 128, cb) Been working great for years...until I tried to hibernate the laptop. Windows 2000 SP4. Visual Basic 6
0
1127
by: =?Utf-8?B?QmFjayA5?= | last post by:
Hello, Is there any way of c# programming to disable the hibernation of XP system? If no, is there any Win32 API to handle the subject? TIA
3
1896
by: =?Utf-8?B?VGFt?= | last post by:
hi, I have a serious problem with my computer. Whenever i start any games on fullscreen, (like counter strike or WOW) I get a pop up saying "hibernation is unchecked. do you want to hibernate?" I keep geting this as long as i play games. But I dont have hibernation on. When i try to have hibernation on, it hibernates after a couple of minutes of playing games. I have formated my computer but it didnt solve my problem. Anyone can help?
0
1090
by: =?Utf-8?B?c2hpbmlnYW1pYm9p?= | last post by:
i put my pc into hibernation. Upon restarting the computer, the words "resuming windows" appear, then a black screen comes up and thats all. I am on a Windows Vista Home Premium.
1
1330
by: =?Utf-8?B?cm9iNjUz?= | last post by:
I was handed a Compaq laptop that has Windows XP Home installed and is current to SP3. The computer has been functioning fine but today the owner, an elderly relative, told me pressed a couple of keys that put it into the hibernation mode. He does not remember what keys he hit and now, when he restarts the computer the screen is blank and neither the keyboard or the touch pad responds. I turned it on and the hard drive spins up and all...
0
8672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9155
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8890
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8858
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7711
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5859
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2322
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.