Results 1 to 11 of 11

Thread: How to do??i don't want users can open alt+tab

  1. #1

    Thread Starter
    Banned
    Join Date
    Apr 2008
    Posts
    59

    How to do??i don't want users can open alt+tab

    How to do?? if i don't want users can open alt+tab and they can't see a name of programme on taskbar
    (lock screen)

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to do??i don't want users can open alt+tab

    Why not? What kind of program are you making?

  3. #3

    Thread Starter
    Banned
    Join Date
    Apr 2008
    Posts
    59

    Re: How to do??i don't want users can open alt+tab

    lock screen computer don't want no member use to computer

  4. #4

    Thread Starter
    Banned
    Join Date
    Apr 2008
    Posts
    59

    Re: How to do??i don't want users can open alt+tab

    i don't want user put alt+tab for open other program and run taskbar manager for close program

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to do??i don't want users can open alt+tab

    The windows operating system has a built in lock workstation feature so I'm not seeing a good reason to write a program that locks someone out of their own computer.

    In fact, I'm seeing a number of not so good reasons, so I would like you to explain the purpose behind the program that you are asking help for.

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: How to do??i don't want users can open alt+tab

    You can set the ShowInTaskbar property of a form to False and then it wont be displayed in the taskbar but why do you need to hijack the desktop from the user? If its restrictive like that no one will want to buy/install your program.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7
    Member
    Join Date
    Jun 2008
    Posts
    61

    Re: How to do??i don't want users can open alt+tab

    Hey, I would like to know how to lock my computer so my brother will not touch it.
    A good enough reason for you?

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: How to do??i don't want users can open alt+tab

    Easy, set your Windows to have all users use a password in order to log on. No programming needed and its good enough for major businesses as well as home users. No need for anything else.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: How to do??i don't want users can open alt+tab

    I've done something similar to this - but for a 3 attempts and you're kicked off sign on. That was more a practice of VB and API's though.

    No doubt about it here - you want to use the Users control panel applet to apply restrictions in. There is also built in auditing (start > run > eventvwr and beneath the security tab) which you can use to see what the users have been upto which you simply wouldn't get with your app idea. Just simply give yourself a password and if neccessary disable any other user accounts on the system there or give them passwords also.

    As suggested above, Windows has this functionality inbuilt & it's a tried and tested (and very powerful) way to accomplish your need.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  10. #10
    Member
    Join Date
    Jun 2008
    Posts
    61

    Re: How to do??i don't want users can open alt+tab

    Yes, i know this. But in VB its cool, so tell me a code in VB that makes it or
    I will cry.

  11. #11
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: How to do??i don't want users can open alt+tab

    Wont really be possible anyways as the OS wont let you do it. You would need to write something in C++ in order to gain access to a low level OS kernal function.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

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