|
 |
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

February 13th, 2008, 12:44 AM
|
Registered User
|
|
Join Date: Feb 2008
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

February 13th, 2008, 01:54 AM
|
Authorized User
|
|
Join Date: Sep 2007
Location: , , Finland.
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Well you could create your own operating system... There's no other way to achieve this.
|

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
|
|
:D@weicco...
|

February 13th, 2008, 11:57 AM
|
 |
Friend of Wrox
Points: 16,481, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
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
|

February 13th, 2008, 12:12 PM
|
Wrox Author
Points: 13,255, Level: 49 |
|
|
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
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
================================================== =========
|

February 13th, 2008, 01:18 PM
|
Authorized User
|
|
Join Date: Sep 2007
Location: , , Finland.
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 :)
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |