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. General Programming
  3. C#
  4. How to hide OS and run only SINGLE application

How to hide OS and run only SINGLE application

Scheduled Pinned Locked Moved C#
csharptutorialquestion
9 Posts 6 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.
  • S Offline
    S Offline
    Sifar 0
    wrote on last edited by
    #1

    Hi all, I ve a desktop application in c#. I want the application to start automatically when computer starts. and during the Execution of the appication, user should not access other prgrams in anyway ... (i have windows XP, during execution of application OS functions should be completely hidden, Even user cannot shutdown it from menu. PC should get shutdown when application gets closed) How can i achieve this... Thanks in advance... Regards, SIFAR.

    V M V realJSOPR S 5 Replies Last reply
    0
    • S Sifar 0

      Hi all, I ve a desktop application in c#. I want the application to start automatically when computer starts. and during the Execution of the appication, user should not access other prgrams in anyway ... (i have windows XP, during execution of application OS functions should be completely hidden, Even user cannot shutdown it from menu. PC should get shutdown when application gets closed) How can i achieve this... Thanks in advance... Regards, SIFAR.

      V Offline
      V Offline
      vimal_yet
      wrote on last edited by
      #2

      your requirement looks like a virus program... ;)

      If U Get Errors U Will Learn If U Don't Get Errors U Have Learnt

      B 1 Reply Last reply
      0
      • S Sifar 0

        Hi all, I ve a desktop application in c#. I want the application to start automatically when computer starts. and during the Execution of the appication, user should not access other prgrams in anyway ... (i have windows XP, during execution of application OS functions should be completely hidden, Even user cannot shutdown it from menu. PC should get shutdown when application gets closed) How can i achieve this... Thanks in advance... Regards, SIFAR.

        M Offline
        M Offline
        Mark Churchill
        wrote on last edited by
        #3

        Change the shell from explorer.exe to your program.

        Mark Churchill Director, Dunn & Churchill Pty Ltd Free Download: Diamond Binding: The simple, powerful, reliable, and effective data layer toolkit for Visual Studio.
        Alpha release: Entanglar: Transparant multiplayer framework for .Net games.

        1 Reply Last reply
        0
        • S Sifar 0

          Hi all, I ve a desktop application in c#. I want the application to start automatically when computer starts. and during the Execution of the appication, user should not access other prgrams in anyway ... (i have windows XP, during execution of application OS functions should be completely hidden, Even user cannot shutdown it from menu. PC should get shutdown when application gets closed) How can i achieve this... Thanks in advance... Regards, SIFAR.

          V Offline
          V Offline
          Vimalsoft Pty Ltd
          wrote on last edited by
          #4

          If its a Legal Program, just make it a Service and let it run automatically when you Computer starts :)

          Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

          S 1 Reply Last reply
          0
          • V vimal_yet

            your requirement looks like a virus program... ;)

            If U Get Errors U Will Learn If U Don't Get Errors U Have Learnt

            B Offline
            B Offline
            blackjack2150
            wrote on last edited by
            #5

            Or an info kiosk. Or a restaurant order management application.

            1 Reply Last reply
            0
            • V Vimalsoft Pty Ltd

              If its a Legal Program, just make it a Service and let it run automatically when you Computer starts :)

              Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

              S Offline
              S Offline
              Sifar 0
              wrote on last edited by
              #6

              Yes, it is a legal application, But the user may be a non-technical person and he will be allowed to change only some settings in the application. I ve made a Windows service in my application, Service also starts with the Computer, But how can i run my application from Windows Service? ( i wrote, OnStart event of Service and i used System.Diagnostics.Process in it but it did not work) ??????

              V 1 Reply Last reply
              0
              • S Sifar 0

                Hi all, I ve a desktop application in c#. I want the application to start automatically when computer starts. and during the Execution of the appication, user should not access other prgrams in anyway ... (i have windows XP, during execution of application OS functions should be completely hidden, Even user cannot shutdown it from menu. PC should get shutdown when application gets closed) How can i achieve this... Thanks in advance... Regards, SIFAR.

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #7

                There is a program available that essentially turns the computer into a kiosk, allowing only specified program to run, and other things like that. I don't remember the name of it, but google "windows kiosk software" and see what you come up with.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                1 Reply Last reply
                0
                • S Sifar 0

                  Yes, it is a legal application, But the user may be a non-technical person and he will be allowed to change only some settings in the application. I ve made a Windows service in my application, Service also starts with the Computer, But how can i run my application from Windows Service? ( i wrote, OnStart event of Service and i used System.Diagnostics.Process in it but it did not work) ??????

                  V Offline
                  V Offline
                  Vimalsoft Pty Ltd
                  wrote on last edited by
                  #8

                  see this http://ask-leo.com/auto_start_how_do_i_run_a_program_automatically_when_windows_starts.html[^]

                  Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

                  1 Reply Last reply
                  0
                  • S Sifar 0

                    Hi all, I ve a desktop application in c#. I want the application to start automatically when computer starts. and during the Execution of the appication, user should not access other prgrams in anyway ... (i have windows XP, during execution of application OS functions should be completely hidden, Even user cannot shutdown it from menu. PC should get shutdown when application gets closed) How can i achieve this... Thanks in advance... Regards, SIFAR.

                    S Offline
                    S Offline
                    Sifar 0
                    wrote on last edited by
                    #9

                    I GOT THE SOLUTION : i gave my exe path in below registry. READ CAUTION DO THE CHANGES CAREFULLY. ******************** HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\Shell ******************** if system is not there then create it. >>>> CAUTION >>>>> DON'T FORGET TO GIVE AN OPTION TO CLEAR THIS SHELL VALUE IN YOUR EXECUTING APPLICATION. OTHERWISE YOU WILL NOT GET BACK TO NORMAL MODE. EVEN IN SAFE MODE ALSO IT WILL START THAT EXE ONLY. Have a great time

                    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