notifications

Is FindFirstChangeNotification the best API to use for file system change notification on windows?

I'm new to windows programming and I'm trying to get notified of all changes to the file system (similar to the information that FileMon from SysInternals displays, but via an API). Is a FindFirstChangeNotification for each (non-network, non-substed) drive my best bet or are there other more suitable C/C++ APIs? ...

Good Starting Places for SQL Server Alerts/Notifications?

Just recently started having issues with a SQL Server Agent Job that contains a SSIS package to extract production data and summarize it into a separate reporting database. I think that some of the Alerts/Notifications settings I tried playing with caused the problem as the job had been running to completion unattended for the previous...

Notification API for windows

Linux has libnotify and OS X has growl. Is there some kind of Notification API for Windows too? It should be accessible via .Net languages. Clarification: Yes I'm looking for an way to send notification to the user, but it won't harm if one can subscribe to certain events with programs too. The linux libnotify uses a system wide D-Bu...

What is the best epoll/kqueue/select equvalient on Windows?

What is Windows' best I/O event notification facility? By best I mean something that ... doesn't have a limit on number of input file descriptors works on all file descriptors (disk files, sockets, ...) provides various notification modes (edge triggered, limit triggered) ...

Delegating a task in and getting notified when it completes (in C#)

Conceptually, I would like to accomplish the following but have had trouble understand how to code it properly in C#: SomeMethod { // Member of AClass{} DoSomething; Start WorkerMethod() from BClass in another thread; DoSomethingElse; } Then, when WorkerMethod() is complete, run this: void SomeOtherMethod() // Also mem...

Generic, annotation-driven event notification frameworks

While simple, interface-driven event notification frameworks in Java have been around since pre-Cambrian times (e.g. java.beans.PropertyChangeSupport), it is becoming increasingly popular for frameworks to use annotation-driven event notification instead. For an example, see JBossCache 2.2. The listener class has its listener methods ...

How do I send an alert to a blackberry from an Excel 2007 spreadsheet?

I've been asked to find a way to send an alert to a blackberry when certain conditions are met on an Excel 2007 spreadsheet. The alert can be an SMS (preferred) or an email. The cell values are changing throughout the day from a DDE feed. What are the typical solutions that people use to solve this? ...

Windows CPU notification for misbehaving Coldfusion application

I have a web application, written in Coldfusion, which periodically starts using 100% of the server's CPU and crashes the Coldfusion service. Since I have been unable to reproduce the problem myself, I'd like to find a utility which will notify me by email when the CPU usage begins to climb, so I can hop on the server, look at FusionRea...

Sliding Notification bar in java (a la Firefox)

I would like to implement a sliding notification bar as the one in Firefox or IE for my java application. But I don't want to reinvent the wheel and I'm sure someone out there has already done it and is willing to share. Do you know any open-source implementation of this in java/swing? ...

Can we use JMX for Alerts/Notification

Here are the specs that I'm trying to implement in a nutshell: 1) Some Alerts have to be sent on certain events in the application. 2) These Alerts have Users subscribe to them. 3) And the Users have set their own Notification preferences (e.g. Email and/or SMS). I have not been able to find an open source solution in Java so far. I...

Is there a library for notification/alert in .NET?

I need to design a notifications framework written solely in .Net. I was wondering is there were some libraries already available to ease in creating rules for the notifications. PS: Anything other than SQL Server Notifications please. Note: Notifications as in Emails and SMS notifications. ...

Notification Library for Windows

I'm developing a small tray-icon application for Windows and I need to display non-intrusive visual notifications similar to those that appear when you receive a new message in MSN Messenger or any other IM application. I have looked at Snarl, but it seems to be a separate application that I need to install. I want something that could ...

Is there a Windows API hook for "this application wants attention"?

In Windows XP, when a program wants the user's attention, it'll flash its taskbar button orange. Anyone with an IM program is probably familiar with this behavior. But when I'm playing a fullscreen-mode game, I don't see that, and messages go unanswered. Now I'm writing a game engine of my own, and I'd like to be kind to my users. Is...

How to send email from MySQL 5.1

I'm trying to send an email to several recipients when a new row is inserted into a table. The list of recipients varies. I would like to be able to set this list using a select statement. I also have installed Navicat which allows me to send email notifications but only to a predetermined set of people. Thanks. ...

Possible locations to call addObserver and removeObserver methods

I have a case where the child view sends notification to parent view. Now i'm calling addObserver in viewWillAppear and remove Observer in viewWillDisappear. But, i'm guessing this is not correct since viewWillAppear calls when view is refreshed. [[NSNotificationCenter defaultCenter] addObserver:<#(id)observer#> selector:<#(SEL)aSelect...

C#/.Net equivalent of NSNotification

I'm an Objective-C developer porting an application to the .Net world. In my Obj-C application, I use NSNotification objects to communicate asynchronously between a handful of objects. Is there some way to do something similar in the .Net world (more specifically, using the C# language)? The fundamental approach is that one object posts ...

Polling webservice performance - Will this work?

Hi! Our app need instant notification, so obvious I should use some some WCF duplex, or socket communication. Problem is the the app is partial trust XBAP, and thus I'm not allowd to use anything but BasicHttpBinding. Therefore I need to poll for changes. No comes the question: My PM says the update interval should be araound 2 sec, an...

How to subtly inform a user his input was received

I'm writing a DLL that is automatically injected on load in a specific application. Because I'd like to run the program while working on it, and my users might want to load the program without it in specific cases (e.g. bug hunting), I sometimes want to prevent loading the DLL. Currently I do this by checking GetKeyState for VK_LCONTROL,...

Java equivalent of Cocoa NSNotification?

I am writing a Java application using SWT widgets. I would like to update the state of certain widgets upon a certain event happening (for example, updating the data model's state). Is there something in Java similar to Cocoa's NSNotificationCenter, where I can register an object to listen for notification events and respond to them, as...

How to debug file change notifications obtained by FindFirstChangeNotification?

So, the question is: I get some notifications I don't want to get. But I don't know for what file/dir I got them. Is there a way to know why given notification was fired? If you think about ReadDirectoryChangesW, please include a meaningful code sample. ...