Archive for March, 2007

25 Mar

How to detect (and prevent) system shutdown

When Windows are being shutdown or restarted, all runnig applications are closed of course. This can be dangerous, because you can lost your unsaved documents. But there is an easy way to detect, that Windows wants to shutdown and your application can do everything necessary to close properly.

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google
  • Live
  • YahooMyWeb
15 Mar

Disable / enable Start button

The Start button will be still visible, but not clickable. Completely useless trick.

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google
  • Live
  • YahooMyWeb
14 Mar

Hide and show taskbar programmatically

Just few lines of code to hide and show Windows taskbar programmatically.

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google
  • Live
  • YahooMyWeb
10 Mar

Run default screensaver from a code

If you want to run default system screensaver from your application, it’s really easy. Just few lines of code. Here’s how to do it…

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • Google
  • Live
  • YahooMyWeb