Link to home
Start Free TrialLog in
Avatar of yiorgos010998
yiorgos010998

asked on

form that takes over the screen

How can I make my form float above all other applications including the windows start menu??

Much like a screen saver.

I have disabled the use of CTR-ALT-DEL keys etc with help from experts exchange! :)

I now just need to make the application run above and over the desktop.

I am writing a simple locking screen application - so users should not be able to gain access to other applications.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Juilette
Juilette

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"HOWTO: Cover the Taskbar with a Window in Visual Basic"

http://support.microsoft.com/support/kb/articles/Q197/5/85.ASP
Avatar of KDivad
KDivad

My 2 cents:

Juliette's code to set a window on-top, your code to disable Ctrl-Alt-Del (and Alt-Tab, by the way) and:

Sub Form_Load()

    Me.Move 0, 0, Screen.Width, Screen.Height

End Sub

This should make your app completely cover the screen and not allow the user to get to anything else. Not foolproof of course, since certain API's can be easily used to create a shortcut that will destroy the currently active process, but...