Samples relating to VB applications.
Allows you to perform processing when your application loses or gains focus.
The trick here is that within the IDE, the Debug statement will cause an error detected by Err.Number, in release mode, the Debug statement will not be executed, hence no error.

