Application highlight in taskbar

You can easily highlight the icon of your vb application in the taskbar. To do this we need to use a Windows API.

Imports System.Runtime.InteropServices

Public Class Form1
    <DllImport("user32.dll", EntryPoint:="FlashWindow")> _
    Public Shared Function FlashWindow(ByVal hwnd As Integer, _
    ByVal bInvert As Integer) As Integer
    End Function
End Class

And its usage:

FlashWindow(Me.Handle, 1)