CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006
    Posts
    37

    How to hide the desktop

    hi,
    I want to do this thing.When the computer will start ,the application will start and we will see only the interface of that application.When I will exit the application ,the computer will shut down. That means no desktop will be shown.Can anybody suggest me any way to do this in vb.net???
    Any suggestions will be really helpful.
    Thanks!!
    Joydeep

  2. #2
    Join Date
    Feb 2000
    Location
    OH - USA
    Posts
    1,892

    Arrow Re: How to hide the desktop

    What you want to do is set your application as the default Shell (aka User Interface) for that particular user or computer. If the system in question is on a domain, then you are best off using group policies to perform the task, otherwise, just change this registry value for the appropriate user:

    HKXX\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell

    Put the FQDN of your application as the value for Shell.

    This is often referred to as Kiosk mode.

    I'm not entirely sure if the procedure in this article applies to non-embedded XP systems, but it's good info non-the-less:
    http://msdn.microsoft.com/library/de...erentUsers.asp
    Last edited by Craig Gemmill; March 11th, 2006 at 02:26 PM.
    Good Luck,
    Craig - CRG IT Solutions - Microsoft Gold Partner

    -My posts after 08/2015 = .NET 4.x and Visual Studio 2015
    -My posts after 11/2011 = .NET 4.x and Visual Studio 2012
    -My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
    -My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
    -My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
    -My posts before 04/2007 = .NET 1.1/2.0

    *I do not follow all threads, so if you have a secondary question, message me.

  3. #3
    Join Date
    Feb 2006
    Posts
    37

    Re: How to hide the desktop

    Quote Originally Posted by Craig Gemmill
    What you want to do is set your application as the default Shell (aka User Interface) for that particular user or computer. If the system in question is on a domain, then you are best off using group policies to perform the task, otherwise, just change this registry value for the appropriate user:

    HKXX\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell

    Put the FQDN of your application as the value for Shell.

    This is often referred to as Kiosk mode.

    I'm not entirely sure if the procedure in this article applies to non-embedded XP systems, but it's good info non-the-less:
    http://msdn.microsoft.com/library/de...erentUsers.asp
    Thanks a lot Craig,It was really helpful ...I will let you know after successfully implementing it.
    Thanks!!
    Rudraksh

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

Featured