Solved

Disable ALT

Posted on 2007-12-03
5
1,199 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

919 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

14 Experts available now in Live!

Get 1:1 Help Now