Results 1 to 16 of 16

Thread: full screen, always on top form, shouldnt be closed by users?! any idea?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227

    full screen, always on top form, shouldnt be closed by users?! any idea?

    hi,

    how can i disable ctrl+alt+del from my form, what i want is to have a full screen , always on top form, and users shouldnt be able to end task it or kill the process, my problem is in the last part, where i think disabiling ctrl+alt+del is the solution, so how can i do that, or is there other ways from preventing users from shutting the prog. down?!!


    thanks,

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    setting the forms , show in taskbar property to false , removed the program from the application tab in the task manager, but users can still shut the process down, what can i do about that?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    guess we cant do anything about the ctrl+alt+del ( since were using win2k ) from within the program , but the admin can disable the task manager for us

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    40
    there IS a way for sure, so keep looking. i used to know this guy who programmed a similar thing for a local network-gaming place. once user logged in, it only showed this one full screen interface, requiring username/password then game choice, but u could never exit the program or view desktop. but that was done in vb 6.0 and the guy is in another country now.
    anyways, keep ur hopes up.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    i'm doing almost the same thing, its a program for an internet lab! do you remember if that friend of yours program used to run on a windows2000 computer?

  6. #6
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I've seen a post in VB6 section that were asking about disabling Alt+Ctrl+Del specifically in W2K and the guys there did find a solution .Do a search hopefully you can find it .

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    i read that a couple hours ago, but they couldnt do it for win2k!!

  8. #8
    Member
    Join Date
    Sep 2003
    Posts
    40
    hello once again,
    i'll call the place tomorrow and ask what windows they are running, i believe it is windows 2000. not sure though. will post again tomorrow less i forget.

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    that would be wonderful, i'll check the thread tomorrow, thanks

  10. #10
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    You can disable the Task Manager

    http://www.vbforums.com/showthread.p...nager+registry

    But I don't think you can disable the Ctrl+Alt+Del functionality completely, at least not in Win2k+.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  11. #11
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    If this is for an internet lab... the administrator can disable Task manager and a bunch of other stuff through the Administrative tools and the Registry for each computer (but not for users marked as Administrators).
    Last edited by nemaroller; Sep 28th, 2003 at 10:24 AM.

  12. #12

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    i guess its the best thing to do, now that we cant do anything in code

  13. #13
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I don't know if this will work or not

    Using wide system hotkeys comprises Ctrl+Alt+Del then just assign your app to launch when these combination are pressed and make it ontop of Task Manager . Do you think this will work ?

  14. #14

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    i dont think thats possible , the best solution i came up with so far ( not usign admin privalages ) is to set our form to full screen, no toolbar, and put a timer to set the topmost property to true every second, even though the task manager can come on top of our form, but it would only stay for a second

  15. #15
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Before you use timer (since I believe it consume some resources), try using this event . For me it works good :
    VB Code:
    1. Private Sub Form1_Deactivate(ByVal sender As Object, ByVal e
    2. As System.EventArgs) Handles MyBase.Deactivate
    3. 'Use this member function
    4.         Me.TopMost = True
    5.  
    6. 'Or use the API Showtop most instead
    7. End Sub

  16. #16

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    your code is much better, i used the timer since i already had it for some other use

Posting Permissions

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



Click Here to Expand Forum to Full Width