Jul 24, 2008

Disable Alt+tab Using .net

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > .NET ( ASP.net VB.net )

free web hosting

Disable Alt+tab Using .net

p_a
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?


Reply

flyerdball
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

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. turn off tab stop asp.net - 0.95 hr back. (1)
  2. disable alt-tab - 6.15 hr back. (1)
  3. vb.net disable alt tab - 17.82 hr back. (1)
  4. can i disable alt-tab function - 20.80 hr back. (1)
  5. disabling alt tab - 21.33 hr back. (1)
  6. vb.net accessing gpedit - 24.12 hr back. (1)
  7. how to disable alt text, vb.net - 27.57 hr back. (1)
  8. .net alt tab - 30.58 hr back. (1)
  9. disable alt tab c# - 32.99 hr back. (1)
  10. disable tab .net - 33.83 hr back. (1)
  11. c# block alt tab - 35.63 hr back. (1)
  12. remove alt-tab .net - 48.31 hr back. (1)
  13. vb .net code to disable alt tab - 48.93 hr back. (1)
  14. diablo alt-tab - 74.08 hr back. (1)
Similar Topics

Keywords : disable, alt, tab, net

  1. How To Disable Widescreen Mode?
    (8)
  2. How To Disable Firefox's Awesome Bar
    restore old location/address bar from firefox 2 (7)
    How To Disable Firefox's Awesome Bar Many people are struggling to find the benefits of
    the so-called Awesome Bar as one member so truthfully pointed out , the smart tag makes your
    viewing "illicit" sites more obvious, particularly when people are peering over as you're typing
    keywords in /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
    Anyway, for those of us who are too lazy to clear their history at the appropriate times, there are
    two steps to disabling its function entirely: Type about:config into the locat....
  3. How Do I Manage Dns Or Disable It ?
    how do i change dns records for my domain or disable it (2)
    I looked everywhere in Cpanel but I can't find where I can change the DNS records for my domain.
    This is the only thing stopping me from moving my website over to trap17, because I need to manage
    DNS myself. If I can't manage it then at least I should be able to disable it. And Trap17 offers
    professional hosting so they shoulf offer this too. EDIT: There should be somewhere in Cpanel that
    allows us to have Custom DNS Records, but I can't find it or it's not enabled.....
  4. Help: Disable All Buttons Inside A Div Element
    How do you write a function to disable all buttons given a div id (8)
    I need help to write a function to disable all buttons iside a div ID. if possible the function will
    disable all buttons even the ones inside child divs belonging to the main div.....
  5. Enable/disable Task Manager
    these methods show you how to disable taskmanager and enable it (0)
    hi i thought i would share with you how to enable/disable your very own taskmanager. go to Start
    run type regedit then press enter and navagate to
    HKEY_CURRENT_USER/Software\Microsoft\Windows\CurrentVersion\Policies\System
    DisableTaskMgr right click modify 1 = Enable 0 = Disable and if the DisableTaskMgr isnt there
    then just right click in the regedit window and click New - Dword Value and type DisableTaskMgr
    then set its value to 0 or 1 what ever oe you want to choose lol also there is another solution if
    you dont want to mess aroun....
  6. How To Enable Or Disable Highlight Programs Feature In Start Menu
    (3)
    How to enable or disable Highlight programs feature in Start Menu As you know, windows Xp
    Highlights new installed soft wares , this feather able you to find new installed soft wares easily.
    To enable or disable this feature do following 1- Go to Start Menu > Click on Run and then type
    "regedit" and press ok to run Windows Registry Editor 2- Go to following address: CODE
    HKEY–current–USER\Saftware\Microsoft\Windows\CurrentVersion\explorer\A
    dvanced 3- Create a new DWORD and name it as Start – Notify New Apps and give it value of....
  7. How To Disable Downloading Files In Internet Explorer
    (0)
    How to disable downloading files in Internet Explorer This tip is useful for network
    administrators; users no longer can download files in internet explorer 1- Go to Start menu > run
    and then type regedit to run Windows Registry Editor 2- Go to following address: CODE
    HKEY-CURRENT-USER\Software\Microsoft\Windows\CurrentVersion\InternetSetting
    \Zone\3 3- Double click on 1803 and give it value of 3 and press OK 4- Close Windows
    Registry Editor and restart your computer. Users no longer can download files in Internet Explorer
    N....
  8. How To Disable Internal Speaker
    (5)
    How to disable internal speaker 1- Go to Start menu > click on RUN and then type regedit to run
    Windows Registry Editor. 2- Go to following address: CODE
    Hkey-current-user\controlpanel\sound 3- Create a new STRING value and name it as Beep,
    give it value of No. 4- Close Windows Registry Editor and restart your computer Note: incorrectly
    editing registry entries may cause several damages, please create a back up from your registry
    entries. ....
  9. Iphone Update Disable Hacked Phones
    (5)
    After reading the article it is obvious what the update was for besides adding in new services and
    updates, however, it took all of what, two weeks to hack the IPhone? So I doubt it will that long
    to figure out what apple change to disable the hack phones. I found this particular quote amusing,
    "...company officials insisted they were "not proactively" trying to make hacked iPhones useless."
    Heck I would if I knew I would be losing millions of dollars a month on a phone that that was hacked
    and used by another phone provider, but like I said earlier it won't take ....
  10. How To Disable Keyboard
    Windows XP (4)
    How to disable keyboard In Windows XP 1- Go to StartMenu > Run and type "regedit" and press OK to
    run Windows Registry Editor. 2- Go to following address: CODE HKEY_CURRENT_USER\Control
    Panel\Accessibility\Keyboard\ Response 3- Create a new String Value and name it as
    Flags , then give it value of 127 4- Now Go to following address: CODE
    HKEY_CURRENT_USER\Controlpanel\Accessibility\SoundSentry 5- Create a new String
    Value and name it as Flags , then give it value of 3 6- Create a new String Value and name it as
    WindosEf....
  11. Double Dropdown
    Disable the second until first is selected (2)
    Allright so heres the deal.. Im trying to make a 3 teir dropdown Sort, Order, User both will be
    populated by a database so dont worry about the content inside of them they will be the same stuff
    in both but in a diffrent order by using php (ajax i guess is what it is since its javascript with
    php lol) CODE <html> <head> <script
    src="selectuser.js"></script> </head> <body> <?php
    $c=mysql_connect ("localhost", "database", "password") or die
    ('I cannot conne....
  12. How To Disable "show Hidden Files And Folders" In Folder Option
    (11)
    How to disable "Show hidden files and folders" in Folder Option As you know, you can hide files
    or folders in Microsoft Windows ( to hide a file or folder , right click on file or folder >select
    properties and then select Hide file) But if you open Folder Option and check "Show hidden files
    and folders " you can see hidden files. to disable "Show hidden files and folders" feature follow
    below steps : 1- Click start > Run > type regedit to run Windows Registry Editor. 2- Go to following
    address: QUOTE HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current Versio....
  13. Temp Disable Site
    yeah i need to temporarily disable my site (0)
    yeah well i sold level services for diablo 2 on site but, ladder reset which basically means all
    ladder characters go to non-ladder so i cant use my characters to level ladder requests so i need a
    temp disable can anyone help?....
  14. How To Disable Low Disk Space In Xp
    (1)
    How to disable low disk space in Microsoft Windows XP As you know, Microsoft Windows XP displays
    a warning message in system tray, if you don’t have enough space in your hard drive. This
    feature is a useful tool for users to delete junk and old files. But this feature sometimes may
    bother you. To disable this feature do following: 1- Click Start menu and then click RUN. Run dialog
    box will appear. 2- In Run dialog box type "regedit" (without quotes) and then click OK. To run
    Microsoft Registry editor. 3- Find following key : QUOTE KEY_CURRENT_USER\Softw....
  15. How To Enabling Right Click On Sites That Disable It
    (4)
    Lots of web sites have disabled the right click function of the mouse button... it's really,
    really annoying. This is done so that you don't steal (via right-click->save picture) their
    photos or images or any other goodies. Unfortunately, it disables ALL right-click functionality:
    copy, paste, open in new window. It's easy to change, assuming your using IE 6: Click
    "Tools"->"Internet Options" Click the "Security" tab Click "Custom Level" Scroll down to the
    "Scripting" section Set "Active Scripting" to "disable" Click "Ok" a couple of times. You'll
    proba....
  16. Disable Download Managers
    Is there a way? (0)
    Just a question... How to disable download managers from downloading e.g. RAR files from a folder
    called e.g. "downloads" on Apache? I'm guessing that I need to enter some commands inside the
    .htaccess file in the folder "downloads" so that resuming of downloads is disabled and multiple
    connections from the same remote host are forbidden. Do these commands even exist?....
  17. How Do You Disable Right Clicking?
    (5)
    How do you disable right clicking? I have no javascript knowledge, so can someone give me the full
    code? Thanks.....
  18. Disable "network" To Speed Norton Av At Work
    How to ease life with Symantec/Norton AV (0)
    I learned last year that if Symantec AV 7.6 or 9 is left at its defaults on Win2K then access in
    Windows Exploder to a Samba or Win2K share can be slower, especially if the dir is big. When I open
    SAV's Configure -> File System AutoProtect (or Real-time) -> Advanced, and change it from
    scanning files that are opened, moved, copied, run, or created (the default) to just scanning files
    that are modified/created, file access performance jumps in a big way. The registry hack below
    disabled the checkbox automatically for our default, unmanaged Windows 2000 configs with ....
  19. Disable Echo Command!
    in MS_DOS (4)
    well , we can disable echo command for security ... let's go on: WARNING: make a backup
    copy of cmd.exe first!! open cmd.exe ( if you don't know where is it, use windows
    search) with a hex editor, and then search for echo ... you should get this results : 0002F8D0 |
    5000 4400 0000 0000 4100 5300 5300 4F00 | P.D.....A.S.S.O. 0002F8E0 | 4300 0000 4600 5400 5900 5000
    4500 0000 | C...F.T.Y.P.E... 0002F8F0 | 4400 4500 4C00 0000 4500 4300 4800 4F00 | D.E.L...E.C.H.O.
    0002F900 | 0000 0000 4500 4E00 4400 4C00 4F00 4300 | ....E.N.D.L.O.C. 0002F910 ....
  20. Is It Possible To Disable A Jbutton
    and make its icon still have colors? (0)
    I'm making minesweeper so I have this big matrix of JButtons. I want to have it so that when you
    click the button is disabled and the ImageIcon is changed to whatever it should be, but when you
    disable a button it becomes grayscale so the pictures are hard to see/don't look like what
    they're supposed to. Is there a way to disable the button and keep the images colorful, or does
    anyone have any other ideas? (I've thought about just removing the ActionListener but that
    might get confusing to have blank buttons that do nothing. Maybe only disabling it if t....
  21. Disable 'turn Off System Restore' In Windows Xp
    Useful for computer administrators (6)
    This method will stop people from disabling System Restore. 1. Go to Run (Start->Run) 2. Type
    gpedit.msc and click Enter 3. On the left in the Computer Configuration go to Administrative
    Templates then System then System Restore. 4. Double click on the Turn off System Restore on the
    screen on the right and choose Enable. Check if it's working. Go to System Properties (Control
    Panel -> System) and to tab System Restore The 'Turn off System Restore' should be now
    'unclickable' ....
  22. Disable Scrollbars, Menubars Etc....
    Javascript / Html code to disable them (6)
    hi, i would like to know how the scrollbars, menubars etc.. can be disabled. I hope someone can help
    me with this. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
    /> Btw: can you tell me where the code should be inserted to? thanks! /cool.gif"
    style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" />....
  23. Can you disable the left click?
    (20)
    Just for a bit of fun, I know its possible to disable the right click, but is it posible to disable
    the left click??? Laterz Matty....

    1. Looking for disable, alt, tab, net

Searching Video's for disable, alt, tab, net
advertisement



Disable Alt+tab Using .net



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE