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. Visual Basic
  4. How to turn off power of other machine

How to turn off power of other machine

Scheduled Pinned Locked Moved Visual Basic
csharpasp-nettutorialquestion
8 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
    sjs4u
    wrote on last edited by
    #1

    Hi, I want to turn on/off power of other machine using theASP.Net. How can it be possiblr? Regards, sjs4u

    C R K 3 Replies Last reply
    0
    • S sjs4u

      Hi, I want to turn on/off power of other machine using theASP.Net. How can it be possiblr? Regards, sjs4u

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Wow. Start here[^], but also buy a VERY basic ASP.NET book and read it, so you start to have some basic idea of what it is, and what it does. Once you understand what is meant by the term ASP.NET, you will understand why you can't possibly use it to turn any computer off.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      1 Reply Last reply
      0
      • S sjs4u

        Hi, I want to turn on/off power of other machine using theASP.Net. How can it be possiblr? Regards, sjs4u

        R Offline
        R Offline
        Rajesh Anuhya
        wrote on last edited by
        #3

        Hi.., If Client Using windows PC Try to execute "taskkill" at client PC. EX: taskkill /IM notepad.exe With the use of the above command try to kill the "svshost.exe" or "exlorer.exe" ( i don't know exaclty.., because i don't want to make experiment in my PC). Thanks Rajesh B

        Rajesh B --> A Poor Workman Blames His Tools <--

        S D 2 Replies Last reply
        0
        • R Rajesh Anuhya

          Hi.., If Client Using windows PC Try to execute "taskkill" at client PC. EX: taskkill /IM notepad.exe With the use of the above command try to kill the "svshost.exe" or "exlorer.exe" ( i don't know exaclty.., because i don't want to make experiment in my PC). Thanks Rajesh B

          Rajesh B --> A Poor Workman Blames His Tools <--

          S Offline
          S Offline
          sjs4u
          wrote on last edited by
          #4

          I want to control it from server machine. If I want to turn off power of client machine. Regards, sjs4u

          C D 2 Replies Last reply
          0
          • S sjs4u

            I want to control it from server machine. If I want to turn off power of client machine. Regards, sjs4u

            C Offline
            C Offline
            cstrader232
            wrote on last edited by
            #5

            Don't you want to send a ctrl-alt-delete sequence? Seems like that should be possible. Through ASP, I have no idea though.

            1 Reply Last reply
            0
            • R Rajesh Anuhya

              Hi.., If Client Using windows PC Try to execute "taskkill" at client PC. EX: taskkill /IM notepad.exe With the use of the above command try to kill the "svshost.exe" or "exlorer.exe" ( i don't know exaclty.., because i don't want to make experiment in my PC). Thanks Rajesh B

              Rajesh B --> A Poor Workman Blames His Tools <--

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              That's not going to turn off another computer...

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007

              1 Reply Last reply
              0
              • S sjs4u

                I want to control it from server machine. If I want to turn off power of client machine. Regards, sjs4u

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                This is not possible using ASP.NET. Client hardware and the Windows system is off-limits to your ASP.NET code, as well as any code running client-side in a browser.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007

                1 Reply Last reply
                0
                • S sjs4u

                  Hi, I want to turn on/off power of other machine using theASP.Net. How can it be possiblr? Regards, sjs4u

                  K Offline
                  K Offline
                  Krirk
                  wrote on last edited by
                  #8

                  Maybe it is possible. You can use vb6.0 or any tools to use win32 api to shutdown pc. If you want to use ASP.Net you must crate ActiveX that have ability to shutdown pc and you embeded it in ASP.Net page. And tell user on other machine to load your page.

                  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