Showing posts with label system. Show all posts
Showing posts with label system. Show all posts

Monday, 26 December 2011

MSN Style for user attention


What if your application is minimized and you want user attention
You can always do it with a message box.
But there is the msn style
That the icon in the taskbar "blinks"
How to do it??
Declaration

Imports System.Runtime.InteropServices

     _

Public Function FlashWindow(ByVal hwnd As Integer, ByVal bInvert As Integer) As Integer

    End Function

When you want to call this function you just FlashWindow(Me.Handle, 1)

But when you call this function the windows and the taskbar will "blink" one time
To achieve "msn style" put the call method into a timer (VB) for 490 ms and enable the tick tock :)
And when the user interacts with your form (got Focus???Click??? Your call but i suggest got Focus)
Hope this is useful 

Tuesday, 27 October 2009

How to get system uptime in windows XP

Windows XP Professional just type systeminfo in a cmd window
Windows XP Home you have to download this program from here and copy it to windows /system 32 i think

remember this program is a command line program and will vanish if you dont open it from a new cmd window

Reset numbering for Screenshots Win+PrtSc

I was using today the screen shot functionality of Windows 8.1 Win Key + PrtSc How to reset the numbering?