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. The Lounge
  3. Some people just don't think.

Some people just don't think.

Scheduled Pinned Locked Moved The Lounge
questioncsharp
39 Posts 23 Posters 5 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.
  • J Joezer BH

    I want to use C# to shutdown the computer at a specified date and time in the past, Is it possible or do I have to use CPP for such things?

    Never underestimate the difference you can make in the lives of others.

    OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #5

    You need to use T++ to use the Tachyon class and affect past events.

    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    J 1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      A question just appeared, which basically sums up to "I want to use C# to start my computer at a specified date and time" I'm not suggesting in any way that you should go and abuse him - please don't - but am I getting too old for this? Do they not teach people that computers don't run software when the power is off anymore? Banging your head on a desk is wonderful; it feels so good when you stop...

      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

      M Offline
      M Offline
      M dHatter
      wrote on last edited by
      #6

      Call oversea tech support and have them read from a manual. :-\ Is the green light on?

      Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

      1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        A question just appeared, which basically sums up to "I want to use C# to start my computer at a specified date and time" I'm not suggesting in any way that you should go and abuse him - please don't - but am I getting too old for this? Do they not teach people that computers don't run software when the power is off anymore? Banging your head on a desk is wonderful; it feels so good when you stop...

        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

        D Offline
        D Offline
        dan sh
        wrote on last edited by
        #7

        It can be done. Pretty simple. See sharply and concentrate on teh computer. Then, use your internal positive energy to channel external negative energy towards computer. Wait till eternity and it will be done.

        "Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]

        1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          A question just appeared, which basically sums up to "I want to use C# to start my computer at a specified date and time" I'm not suggesting in any way that you should go and abuse him - please don't - but am I getting too old for this? Do they not teach people that computers don't run software when the power is off anymore? Banging your head on a desk is wonderful; it feels so good when you stop...

          The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

          pkfoxP Offline
          pkfoxP Offline
          pkfox
          wrote on last edited by
          #8

          He probably means WOL - oh wait ! He probably doesn't ;-)

          When the going gets weird the weird turn pro - Hunter S Thompson RIP

          1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            You need to use T++ to use the Tachyon class and affect past events.

            The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

            J Offline
            J Offline
            Joezer BH
            wrote on last edited by
            #9

            Great tnx Griffy, I've downloaded the cTachReverseulator dll v3.4.6. The code seems to be working but I get this exception: "Access denied while trying to shift global Datetime.Now, reason: Insufficient read/write permissions to specific time point." But I am an admin! :sigh: Do you know if there's a coming GA or a patch?

            Never underestimate the difference you can make in the lives of others.

            OriginalGriffO 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              A question just appeared, which basically sums up to "I want to use C# to start my computer at a specified date and time" I'm not suggesting in any way that you should go and abuse him - please don't - but am I getting too old for this? Do they not teach people that computers don't run software when the power is off anymore? Banging your head on a desk is wonderful; it feels so good when you stop...

              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

              F Offline
              F Offline
              Florian Rappl
              wrote on last edited by
              #10

              The question is not as stupid as it seems, since you can do it over LAN (assuming that the computer has a power connection and the PSU is capable of having a standby mode, which then still powers the ethernet card). This technology is not new and is called "Wake-on-LAN". It just requires an ethernet connection with APM or ACPI being available on the main board and the eth. card. What one could do is either programming some timer on a router (very popular choice) or building a custom solution, which then uses some other computer on the network or involves a micro-controller.

              M D 2 Replies Last reply
              0
              • J Joezer BH

                Great tnx Griffy, I've downloaded the cTachReverseulator dll v3.4.6. The code seems to be working but I get this exception: "Access denied while trying to shift global Datetime.Now, reason: Insufficient read/write permissions to specific time point." But I am an admin! :sigh: Do you know if there's a coming GA or a patch?

                Never underestimate the difference you can make in the lives of others.

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #11

                Only for iOSWindows 17 "AppleJuice" SP2

                The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                J 1 Reply Last reply
                0
                • F Florian Rappl

                  The question is not as stupid as it seems, since you can do it over LAN (assuming that the computer has a power connection and the PSU is capable of having a standby mode, which then still powers the ethernet card). This technology is not new and is called "Wake-on-LAN". It just requires an ethernet connection with APM or ACPI being available on the main board and the eth. card. What one could do is either programming some timer on a router (very popular choice) or building a custom solution, which then uses some other computer on the network or involves a micro-controller.

                  M Offline
                  M Offline
                  M dHatter
                  wrote on last edited by
                  #12

                  https://www.remotepowerswitch.com/[^] If you want to get fancy ;P

                  Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors. :)

                  F 1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Only for iOSWindows 17 "AppleJuice" SP2

                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                    J Offline
                    J Offline
                    Joezer BH
                    wrote on last edited by
                    #13

                    I hope by then they'll fix the problem with the Cherenkov radiation shock wave corrupting the memory structures close to the application core...

                    Never underestimate the difference you can make in the lives of others.

                    1 Reply Last reply
                    0
                    • F Florian Rappl

                      The question is not as stupid as it seems, since you can do it over LAN (assuming that the computer has a power connection and the PSU is capable of having a standby mode, which then still powers the ethernet card). This technology is not new and is called "Wake-on-LAN". It just requires an ethernet connection with APM or ACPI being available on the main board and the eth. card. What one could do is either programming some timer on a router (very popular choice) or building a custom solution, which then uses some other computer on the network or involves a micro-controller.

                      D Offline
                      D Offline
                      dusty_dex
                      wrote on last edited by
                      #14

                      There is also a way to schedule power ON/OFF through BIOS settings. (under Power Management) It's been there for a very long time. :)

                      M 1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        A question just appeared, which basically sums up to "I want to use C# to start my computer at a specified date and time" I'm not suggesting in any way that you should go and abuse him - please don't - but am I getting too old for this? Do they not teach people that computers don't run software when the power is off anymore? Banging your head on a desk is wonderful; it feels so good when you stop...

                        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                        Mike HankeyM Offline
                        Mike HankeyM Offline
                        Mike Hankey
                        wrote on last edited by
                        #15

                        I know you've probably heard this before but it reminds me of this person[^].

                        VS2010/Atmel Studio 6.1 ToDo Manager Extension Some days, it's just not worth chewing through the restraints.

                        OriginalGriffO 1 Reply Last reply
                        0
                        • Mike HankeyM Mike Hankey

                          I know you've probably heard this before but it reminds me of this person[^].

                          VS2010/Atmel Studio 6.1 ToDo Manager Extension Some days, it's just not worth chewing through the restraints.

                          OriginalGriffO Offline
                          OriginalGriffO Offline
                          OriginalGriff
                          wrote on last edited by
                          #16

                          Nope, not heard that before..."Why are we encouraging dear to cross the interstate?" :laugh: The sobering thing is, she probably has the right to vote... :sigh:

                          The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                          M J 2 Replies Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            A question just appeared, which basically sums up to "I want to use C# to start my computer at a specified date and time" I'm not suggesting in any way that you should go and abuse him - please don't - but am I getting too old for this? Do they not teach people that computers don't run software when the power is off anymore? Banging your head on a desk is wonderful; it feels so good when you stop...

                            The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                            G Offline
                            G Offline
                            Gary R Wheeler
                            wrote on last edited by
                            #17

                            Some industrial PC's include hardware that let you shutdown the machine and then restart at a later time, either based on time-of-day or after an interval. They can also start based on I/O or network signals. That said, I somehow doubt the Q&A question was based on that.

                            Software Zen: delete this;

                            1 Reply Last reply
                            0
                            • OriginalGriffO OriginalGriff

                              A question just appeared, which basically sums up to "I want to use C# to start my computer at a specified date and time" I'm not suggesting in any way that you should go and abuse him - please don't - but am I getting too old for this? Do they not teach people that computers don't run software when the power is off anymore? Banging your head on a desk is wonderful; it feels so good when you stop...

                              The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #18

                              OriginalGriff wrote:

                              Do they not teach ...

                              What I find even more worrying is the number of questions that make it clear that the poster is being taught to do things the wrong way.

                              Use the best guess

                              A 1 Reply Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                Nope, not heard that before..."Why are we encouraging dear to cross the interstate?" :laugh: The sobering thing is, she probably has the right to vote... :sigh:

                                The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                M Offline
                                M Offline
                                Mycroft Holmes
                                wrote on last edited by
                                #19

                                She retains the right to breathe which is more than her intellect warrants! Never underestimate the power of human stupidity RAH

                                1 Reply Last reply
                                0
                                • OriginalGriffO OriginalGriff

                                  A question just appeared, which basically sums up to "I want to use C# to start my computer at a specified date and time" I'm not suggesting in any way that you should go and abuse him - please don't - but am I getting too old for this? Do they not teach people that computers don't run software when the power is off anymore? Banging your head on a desk is wonderful; it feels so good when you stop...

                                  The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #20

                                  Yeah, I wouldn't use C# for that, I'd use Visual Basic. :-D

                                  OriginalGriffO 1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    Nope, not heard that before..."Why are we encouraging dear to cross the interstate?" :laugh: The sobering thing is, she probably has the right to vote... :sigh:

                                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                    J Offline
                                    J Offline
                                    Joezer BH
                                    wrote on last edited by
                                    #21

                                    OriginalGriff said:

                                    she probably has the right to vote

                                    What do you care? The rest of us vote for people that when given the chance will prove us wrong, so we just go: "O, he's been taken down by corruption" and move on to vote for the next would be failure. Isn't democracy just a long unnoticed sleeping pill?

                                    Never underestimate the difference you can make in the lives of others.

                                    OriginalGriffO 1 Reply Last reply
                                    0
                                    • J Joezer BH

                                      OriginalGriff said:

                                      she probably has the right to vote

                                      What do you care? The rest of us vote for people that when given the chance will prove us wrong, so we just go: "O, he's been taken down by corruption" and move on to vote for the next would be failure. Isn't democracy just a long unnoticed sleeping pill?

                                      Never underestimate the difference you can make in the lives of others.

                                      OriginalGriffO Offline
                                      OriginalGriffO Offline
                                      OriginalGriff
                                      wrote on last edited by
                                      #22

                                      Probably not a discussion for the Lounge. I start to swear copiously when I think about most politicians... OT: Google wants to replace the "swear" with "sweat" under it's suggestion rules in the above. Thinking about it, it both are pretty accurate!

                                      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                      J 1 Reply Last reply
                                      0
                                      • L Lost User

                                        Yeah, I wouldn't use C# for that, I'd use Visual Basic. :-D

                                        OriginalGriffO Offline
                                        OriginalGriffO Offline
                                        OriginalGriff
                                        wrote on last edited by
                                        #23

                                        Only if you could move it to the Cloud...

                                        The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          OriginalGriff wrote:

                                          Do they not teach ...

                                          What I find even more worrying is the number of questions that make it clear that the poster is being taught to do things the wrong way.

                                          Use the best guess

                                          A Offline
                                          A Offline
                                          Abhinav S
                                          wrote on last edited by
                                          #24

                                          It may be a global phenomenan. However, it is very prevalent in my location where those not in the programming field try and enter it without any prior knowledge. If they read a few books before starting, they would be better off.

                                          WP Apps - Color Search | Arctic | XKCD | Sound Meter | Speed Dial

                                          OriginalGriffO 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