Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8237807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:35:35+00:00 2026-06-07T19:35:35+00:00

I would like to create a VB.net program that will prompt a user before

  • 0

I would like to create a VB.net program that will prompt a user before it shows them their desktop for a password. If the password is correct it will log in. If incorrect, after a couple of tries the compuer will shut down. The only problem is starting the program without showing any icons or the taskbar. I haven’t tried the startup folder in the start menu because wouldn’t that show the desktop first? Also I would like it to load before the desktop loads (and then continue to load the desktop after logging in) so you can’t close it with task manager or accidentally minimize the form (with the Windows Key + D).

Thank you.

P.S. I do not care about actual security it is just a way to see who’s logging on. Also the people will be logging on to the same Windows account… it’s faster than switching users.

(I am using Visual Studio 2010 Express.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T19:35:36+00:00Added an answer on June 7, 2026 at 7:35 pm

    You could stop explorer.exe from opening temporarily by replacing it with your start-up program in the registry:

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

    So you change Shell = Explorer.exe to Shell = C:\path\to\Myapplication.exe.

    More details can be found on MSDN (article actually focuses XP Embedded but should work the same way in a regular installation).

    What this does is, explorer.exe loads the desktop and the taskbar. Windows launches the .exe file that is in the registry value we edited and loads the desktop and taskbar. By replacing explorer.exe with your program, it launches your program insted.

    The desktop will load normally after your application launches explorer.exe. (Thanks to Matt for confirming that works.) Process.Start("explorer.exe") will launch explorer.exe and load your desktop.

    If you are not putting your application in the Windows directory or adding it to the Path variable, you need to fully qualify the location (write the full location like above).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create a console program in VB.net that would allow parameters.
I would like to create the ASP.NET User database template on a database of
I'm working on a C#/.NET 3.5/Windows Forms program. I would like to create a
I would like to create an order form for my ASP.net page (I included
In C# ASP.Net, I would like to create and save a text file to
I'm trying to create a .NET touchscreen application. I would like to be able
We have some Microfocus Cobol.Net applications. We would like to create a dependency map
I have two different .Net projects, hosted on github. I would like to create
I am learning ASP.Net. I have a dynamically created ImageButton that I would like
I want to create a custom form (in visual basic .NET) that will stop

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.