Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Running Only one application in Windows

Running Only one application in Windows

Scheduled Pinned Locked Moved System Admin
c++
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gopalkr
    wrote on last edited by
    #1

    Hi All, I had developed a VC++ Application. I need only this application running when Windows Starts up. Default windows screens, desktops, status bar etc., and hot keys should be disabled. Also on closing the application, Windows must Shutdown automatically. Pl get me solution Thanks in Advance, R.Gopalakrishnan

    R F 2 Replies Last reply
    0
    • G gopalkr

      Hi All, I had developed a VC++ Application. I need only this application running when Windows Starts up. Default windows screens, desktops, status bar etc., and hot keys should be disabled. Also on closing the application, Windows must Shutdown automatically. Pl get me solution Thanks in Advance, R.Gopalakrishnan

      R Offline
      R Offline
      Ray Cassick
      wrote on last edited by
      #2

      You can replace (or at least you could as recent as Windows NT) the windows shell interface. Instead of using explorer.exe you could replace it with any other exe.


      George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things." Jörgen Sigvardsson wrote: If the physicists find a universal theory describing the laws of universe, I'm sure the asshole constant will be an integral part of that theory.
      My Blog[^]


      1 Reply Last reply
      0
      • G gopalkr

        Hi All, I had developed a VC++ Application. I need only this application running when Windows Starts up. Default windows screens, desktops, status bar etc., and hot keys should be disabled. Also on closing the application, Windows must Shutdown automatically. Pl get me solution Thanks in Advance, R.Gopalakrishnan

        F Offline
        F Offline
        faroqtam
        wrote on last edited by
        #3

        Hi : only by replace the shell value in the follwing registry key your program will run instead of explorer.exe replace you program full path in the explorer.exe place in the shell value . HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon to restart windows or shutdown when your program close . when your program quered to closed only invok ExitWindowsEx(....) API function . bye . Faroq Al-tam KingofC On Earth nothing impossible, while your mind running. Faroqtam

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups