Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 13th, 2008, 12:44 AM
Registered User
 
Join Date: Feb 2008
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Controlling Alt+Ctrl+Del Keys through Asp.Net 2005

:) Hi all,

      I need to control Alt+Ctrl+Del keys or any such similar Keys(Task Manager) so that user does not close my (CHILD WINDOW)browser or come out of it before he completely saves the data in all the field in child window. Hope U have understood my query.

      Waiting For The Reply.
      Thank U.

  #2 (permalink)  
Old February 13th, 2008, 01:54 AM
Authorized User
 
Join Date: Sep 2007
Location: , , Finland.
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well you could create your own operating system... There's no other way to achieve this.

  #3 (permalink)  
Old February 13th, 2008, 08:18 AM
Authorized User
 
Join Date: Feb 2008
Location: Bangalore, A.P, India.
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

:D@weicco...
  #4 (permalink)  
Old February 13th, 2008, 11:57 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You certainly aren't going to be able to control those keys from an ASP.NET application. Plus, consider that there is no CTRL-ALT-DEL on a MAC for example. My perspective is that if a user is going to use brute force to close an application (via task manager or similar) then they don't care much about the data in it. You can only do so much to control a user's behavior.

-Peter
  #5 (permalink)  
Old February 13th, 2008, 12:12 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Outside of the short coming on the Mac as Peter has pointed out, one does not need to press CTRL + ALT + DEL to bring up the task mananger since it can be spawned from the run window (and you don't necessarily need to press any keys on the keyboard for that window to be brought up).

-Doug

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
  #6 (permalink)  
Old February 13th, 2008, 01:18 PM
Authorized User
 
Join Date: Sep 2007
Location: , , Finland.
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Default

CTRL + ALT + DEL is handled deep inside Windows and as far as I know you can't block it even by adding low level Windows Hook to drop them. CTRL + ALT + DEL calls GINA.DLL which overrides every user application.

And I should know, I've implemented custom gina.dll some years ago. And boy it was awful. One mistake and Windows wouldn't/couldn't boot at all :)


Similar Threads
Thread Thread Starter Forum Replies Last Post
send MASS Emails in ASP.NET 2 with VB.NET 2005 alexdcosta ASP.NET 2.0 Basics 1 July 17th, 2006 12:31 AM
DISABLING CTRL-ALT-DELETE harsh_hot Javascript How-To 19 March 23rd, 2006 06:41 AM
DISABLING CTRL-ALT-DELETE harsh_hot Other Programming Languages 0 February 6th, 2006 06:42 AM
How to block Alt+Ctrl+Del sagarkoirala VB How-To 0 August 8th, 2003 12:00 PM
API to disable CTRL ALT DELETE key stroke Dhodie Pro VB 6 2 July 9th, 2003 04:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.