I just want to blink the taskbar icon if the app has an alert occur while the user is working with another application (I already know how to blink the taskbar icon).
I have tried Me.focused
code:
HELP please..Code:Private Sub Textbox1_TextChanged(sender As Object, e As System.EventArgs) Handles Textbox1.TextChanged 'Textbox1.SelectionStart = Len(Textbox1.Text) ' Textbox1.SelectionLength = 0 If Me.Focused = False Then My.Computer.Audio.Play(My.Resources.Alert, AudioPlayMode.WaitToComplete) FlashWindow(Me.Handle, 1) End If End Sub


Reply With Quote
didn't work though.

