Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Coding a touchscreen password program can ctrl-alt-del be disabled?

  1. #1
    FLAC alti's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,722

    Coding a touchscreen password program can ctrl-alt-del be disabled?

    Question for all the coding monkeys and non monkeys.

    I am trying to code a touch screen password program in VB.net that is basically a rip off of StevieG's audio recording password software, accept I did not really need the recording feature, and I wanted to code so it gave me a reason to.

    I have the program working great with one problem, I have been searching for a way to stop the users ability to get around the applications having focus by killing it in task manager. With just a touch screen interface this is not a problem I have the window set to no border, maximized and topmost. but as soon as a smart or curious person finds my computer in the trunk and plugs in a keyboard they will eventually try alt-crtl-del and end the task/process.

    From my googleing attempts the only info I have garnered is that is not possible to with code in XP, is this true? The only way to do it is by replacing the GINA.dll file with a modified version disabling the task manager or modifying the users permissions to not allow the user to do it. Neither of these solutions work for me as after my app closing I still want it to be business as usual.

    Any ideas?

    here is a screen shot of the app. (the picture of my stock radio where the radio is supposed to be is ment to deter would-be thieves )
    Attached Images Attached Images  
    My Install

    Software:
    CFiG v1
    iGuidance Plugin for CF

    CarShell
    Working shell for a CarPC

    StopWatch
    StopWatch plugin remade for centrafuse RC1

  2. #2
    Raw Wave god_of_cpu's Avatar
    Join Date
    Jan 2004
    Location
    SilverSpring Maryland
    Posts
    2,960
    No, you can't do it easily with code. The typical way to block keys is with a global keyboard hook, however, these are processed after ctrl+alt+del. The only reliable way I found is to hack the registry and remap the keys.

    http://www.northcode.com/resources/kiosk/kiosk.html
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

  3. #3
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,443
    the way I would look at it.. if you got a touch screen, then chances are your keyboard would be hidden anyway.. and how many people would think about pressing these keys anyway ?

    CdR

  4. #4
    Raw Wave
    Join Date
    Jun 2004
    Location
    On the beach
    Posts
    2,225
    Good point Cdr .... I disconnect my USB Keyboard when not in use and put in the back under my seat.

  5. #5
    Raw Wave tj!2k4's Avatar
    Join Date
    Oct 2004
    Posts
    3,294
    Quote Originally Posted by god_of_cpu
    No, you can't do it easily with code. The typical way to block keys is with a global keyboard hook, however, these are processed after ctrl+alt+del. The only reliable way I found is to hack the registry and remap the keys.

    http://www.northcode.com/resources/kiosk/kiosk.html
    keep in mind that i know nothing about programming, but here is my $0.02:

    this similar to what I was thinking, except you might just want to intercept ctrl and alt keys.. then alt-tab, ctrl-alt-del, and ctrl-shift-esc won't work.

  6. #6
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,705
    I think that is a good idea too.. can't you look out for crt-alt key combo, and as soon as they are pressed you display a msgbox("no you don't!") ?

    Quote Originally Posted by tj!2k4
    keep in mind that i know nothing about programming, but here is my $0.02:

    this similar to what I was thinking, except you might just want to intercept ctrl and alt keys.. then alt-tab, ctrl-alt-del, and ctrl-shift-esc won't work.
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  7. #7
    FLAC alti's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,722
    Thanks for all of the replies guys!

    The way I understand it the crtrl and alt keys are processed olny when another key (such as del) is pressed. The computer looks to see if the ctrl or alt where down @ at the time the keypress of del happend. So like God_of_Cpu and CDrSkull said the above wont work

    I did find way to do it in 9x windows appearently it was quite easy to there.

    I had hoped there was a "known loophole", but had a feeling there wasnt.

    Thanks again guys.
    My Install

    Software:
    CFiG v1
    iGuidance Plugin for CF

    CarShell
    Working shell for a CarPC

    StopWatch
    StopWatch plugin remade for centrafuse RC1

  8. #8
    My man uses Levitra. Peoples's Avatar
    Join Date
    Dec 2004
    Location
    Maryland
    Posts
    2,024
    um, i havent done it in a while, but i recall there is a way to register your app with windows as a screen saver, then when the task manager does pop up, your program is not listed...cant remember the code though.....this might not work in XP.....that mighta been in the days of 98
    PC Components:
    Lilliput; XPC/FLEX mobo; 1.7 ghz P4 Mobile;512 DDR; 160 gb HDD; opus 150; slot usb dvd-rw
    My work log

  9. #9
    FLAC alti's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,722
    Quote Originally Posted by Peoples
    um, i havent done it in a while, but i recall there is a way to register your app with windows as a screen saver, then when the task manager does pop up, your program is not listed...cant remember the code though.....this might not work in XP.....that mighta been in the days of 98
    that is exactly the way to do it for win 9x, unfortunitaly they ended it for win 2000/xp
    My Install

    Software:
    CFiG v1
    iGuidance Plugin for CF

    CarShell
    Working shell for a CarPC

    StopWatch
    StopWatch plugin remade for centrafuse RC1

  10. #10
    My man uses Levitra. Peoples's Avatar
    Join Date
    Dec 2004
    Location
    Maryland
    Posts
    2,024
    heres a hook example like god_of_cpu suggested http://planetsourcecode.com/vb/scrip...1052&lngWId=10
    PC Components:
    Lilliput; XPC/FLEX mobo; 1.7 ghz P4 Mobile;512 DDR; 160 gb HDD; opus 150; slot usb dvd-rw
    My work log

Page 1 of 3 123 LastLast

Similar Threads

  1. FIX: CTRL ALT DEL with "MinLogon"
    By frodobaggins in forum WinNT Based
    Replies: 13
    Last Post: 03-05-2009, 06:34 AM
  2. minlogon ctrl alt del problem..
    By syfenx in forum WinNT Based
    Replies: 2
    Last Post: 01-22-2005, 04:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •