Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Disable Alt+tab Using .net
p_a
post Sep 23 2005, 09:25 PM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 22
Joined: 23-September 05
Member No.: 12,187



Is this possible? Number of webpages I visited said - simply no. But having in mind new structure of .NET, I hope there would be a possibility to disable ALT+TAB, or CTRL+ALT+DEL at the webpage.

Why to disable it? Sometimes in educational institutions tests and quizes are based on website server with client browsers on students computers. To avoid possibility of starting another program, or changing current application, there should be a possibility of disabling ALT-DEL for example.

Is the keyboard combination under protection of the operating system?

Go to the top of the page
 
+Quote Post
flyerdball
post Sep 26 2005, 09:26 PM
Post #2


Newbie [Level 2]
**

Group: Members
Posts: 38
Joined: 26-September 05
Member No.: 12,276



This code comes from a Post in developerfusion.uk.... I have myself controlled other keys but not exactly in this fashion. This will work for almost all other keys that you would want to control.

Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long


Private Sub disablekeys(disable As Boolean)
SystemParametersInfo 97, disable, CStr(1), 0
End Sub


Private Sub disablek_Click()
disablekeys True
End Sub

Private Sub enablek_Click()
disablekeys False
End Sub
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Disable 'turn Off System Restore' In Windows Xp(6)
  2. Is It Possible To Disable A Jbutton(0)
  3. Disable Echo Command!(4)
  4. Disable "network" To Speed Norton Av At Work(0)
  5. How Do You Disable Right Clicking?(5)
  6. Disable Download Managers(0)
  7. How To Enabling Right Click On Sites That Disable It(4)
  8. How To Disable Low Disk Space In Xp(1)
  9. Temp Disable Site(0)
  10. How To Disable "show Hidden Files And Folders" In Folder Option(12)
  11. Double Dropdown(2)
  12. How To Disable Keyboard(4)
  13. Iphone Update Disable Hacked Phones(5)
  14. How To Disable Internal Speaker(5)
  15. How To Disable Downloading Files In Internet Explorer(0)
  1. How To Enable Or Disable Highlight Programs Feature In Start Menu(3)
  2. Enable/disable Task Manager(0)
  3. Help: Disable All Buttons Inside A Div Element(8)
  4. How Do I Manage Dns Or Disable It ?(2)
  5. How To Disable Firefox's Awesome Bar(7)
  6. How To Disable Widescreen Mode?(8)
  7. How To Disable Flashing In Windows Freecell(0)


 



- Lo-Fi Version Time is now: 8th September 2008 - 09:12 AM