1.

Solve : Alarm program in VB to appear over all program in screen?

Answer»

I have made a small program of Alarm in VB which create a message window on preset time. In this program when system time gets equal to preset alarm time, a message window appears on the SCREEN if this VB program is active on screen otherwise it blinks in task BAR. I want it to appear on the screen over all programs what so ever these are on screen so that it may get attention immediately.
Please help me.
You NEED to use a "Bring Window to Front" type of instruction. I had to do this in other languages but am not a VB guru to advise other than the link here which should help you. The code at the TOP of the page seems to not work by posts there, but other code snippets hint on other ways to achieve this with success.

http://stackoverflow.com/questions/6737727/vb-net-bring-window-to-frontQuote from: lohani on July 31, 2013, 09:21:13 AM

I want it to appear on the screen over all programs what so ever these are on screen so that it may get attention immediately.
Please help me.

http://blogs.msdn.com/b/oldnewthing/archive/2011/03/10/10138969.aspx


You cannot force yourself to be more important than other programs. Stealing FOCUS from other applications requires you to work against the Window manager.



Discussion

No Comment Found