?
Solved

Disable ALT

Posted on 2007-12-03
5
Medium Priority
?
1,220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
 
LVL 1

Accepted Solution

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

Computer101
EE Admin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month14 days, 8 hours left to enroll

770 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