systemevent

What does it mean to "register system events... with Oracle Internet Directory"?

This is from the Stream - AQ docs. You can register system events, user events, and notifications on queues with Oracle Internet Directory. System events are database startup, database shutdown, and system error events. User events include user log on and user log off, DDL statements (create, drop, alter), and DML statement triggers....

Getting notified when the datetime changes in c#

Recently I was trying to make a calendar application that will display the current year-month-date to the user. The problem is, if the user is gonna keep my application running even for the next day, how do I get notified ?? How shall I change the date displayed ? I don't wanna poll the current date to update it. Is this possible in c#. ...

SystemEvents::PowerModeChanged Problem

Whats in my project(C++/CLI): - dllimport some un managed dlls - wndproc is override in the form - Treads are there - Times used - I used notify icon so used myForm->Hide() and myForm->Show() I used the following line but MyMainForm::onPowerModeChanged method never fires... SystemEvents::PowerModeChanged += gcnew PowerModeChangedEv...

In .NET, can I detect system focus events (C#)?

Is it possible to determine when window focus changes at the system level? I'm writing a time-tracking application, and I'd like to be able to listen for application switching (so that I can begin logging time in a given application). I've poked around the Process class for a good hour here, and while I learned quite a few useful things,...

How to capture Logoff event using a windows service in C#?

I am trying to create a service that will log when users logon and logoff. I have no problem with capturing the logon, but for some reason i cannot catch the logoff event. this is the code i have used: protected override void OnStart(string[] args) { //SystemEvents.SessionSwitch += new SessionSwitchEventHandler(SystemEven...

Monitoring Apples "System Events" with Cocoa

Hey all, I was wondering if there was a way to write a Cocoa app that listened for OS system events such as an application launching, a window switches, etc, etc. My thought was to watch [NSNotficationCenter default] for messages but so far I haven't been able to find much. Does anyone have any suggestions? Thanks! ...