Solved

Disable ALT

Posted on 2007-12-03
5
1,194 Views
Last Modified: 2008-02-01
Hi

Hope someone can help

I need a way to disable ALT-Tab / ALT-Esc/CTRL-Esc in windows 2k/XP while my form
is loaded.
0
Comment
Question by:amaimedia
  • 2
5 Comments
 
LVL 25

Expert Comment

by:SStory
ID: 20396648
0
 

Author Comment

by:amaimedia
ID: 20401654
I found for disable
ALT+f4  in form closing event e.Cancel = True
CTRL+ALT+DELETE
Public Sub EnableTaskManager(ByVal enable As Boolean)
        Dim HKCU As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.CurrentUser
        Dim key As Microsoft.Win32.RegistryKey =
HKCU.CreateSubKey("Software\Microsoft\Windows\CurrentVersion\Policies\System")
        key.SetValue("DisableTaskMgr", IIf(enable, 0, 1), Microsoft.Win32.RegistryValueKind.DWord)
    End Sub

0
 

Author Comment

by:amaimedia
ID: 20410038
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 20632919
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now