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. Darn! I wish there was a undo...

Darn! I wish there was a undo...

Scheduled Pinned Locked Moved The Lounge
question
17 Posts 8 Posters 1 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 Jason Hooper

    I can't stand rewriting the same code twice. It's bad enough when it goes against the DRY grain in day-to-day coding, but when it's because you lost the code and have to rewrite it.. it's the worst feeling of wastefulness, so I try to avoid it (saving often, committing often, etc.)

    Jason

    G Offline
    G Offline
    glennPattonPub
    wrote on last edited by
    #5

    I agree that's why I backing up just chose the wrong folder (or the right folder in the wrong location...) Any relation to Grace Hopper?

    M J 2 Replies Last reply
    0
    • G glennPattonPub

      I have just done a stupid in backing everything up I have managed to loose the bits of code I was working on...hopefully I can remember the changes I made. :( (matter of interest there is an undo for copying files is there?)

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

      If you've enabled System Restore on the drive, you can go back to a Previous version of the folder/file.

      G 1 Reply Last reply
      0
      • G glennPattonPub

        I have just done a stupid in backing everything up I have managed to loose the bits of code I was working on...hopefully I can remember the changes I made. :( (matter of interest there is an undo for copying files is there?)

        W Offline
        W Offline
        Wayne Gaylard
        wrote on last edited by
        #7

        Ctrl-Z works in windows explorer just like it does anywhere else.

        When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

        N 1 Reply Last reply
        0
        • G glennPattonPub

          I agree that's why I backing up just chose the wrong folder (or the right folder in the wrong location...) Any relation to Grace Hopper?

          M Offline
          M Offline
          Marco Bertschi
          wrote on last edited by
          #8

          glennPattonWork wrote:

          Any relation to Grace Hopper?

          You want the approval that you look like her?

          1 Reply Last reply
          0
          • G glennPattonPub

            Sadly the Git used is me!

            H Offline
            H Offline
            HobbyProggy
            wrote on last edited by
            #9

            well... in that case you should fix your backup code mate :-O

            if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

            G 1 Reply Last reply
            0
            • W Wayne Gaylard

              Ctrl-Z works in windows explorer just like it does anywhere else.

              When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

              N Offline
              N Offline
              Nicholas Marty
              wrote on last edited by
              #10

              Yeah. But not if you've overwritten some files ;)

              W 1 Reply Last reply
              0
              • L Lost User

                If you've enabled System Restore on the drive, you can go back to a Previous version of the folder/file.

                G Offline
                G Offline
                glennPattonPub
                wrote on last edited by
                #11

                That I did not think of, thank you

                1 Reply Last reply
                0
                • N Nicholas Marty

                  Yeah. But not if you've overwritten some files ;)

                  W Offline
                  W Offline
                  Wayne Gaylard
                  wrote on last edited by
                  #12

                  Guess not :sigh:

                  When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

                  1 Reply Last reply
                  0
                  • H HobbyProggy

                    well... in that case you should fix your backup code mate :-O

                    if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }

                    G Offline
                    G Offline
                    glennPattonPub
                    wrote on last edited by
                    #13

                    And that is what I am doing...

                    1 Reply Last reply
                    0
                    • G glennPattonPub

                      I have just done a stupid in backing everything up I have managed to loose the bits of code I was working on...hopefully I can remember the changes I made. :( (matter of interest there is an undo for copying files is there?)

                      P Offline
                      P Offline
                      Pete OHanlon
                      wrote on last edited by
                      #14

                      Are you working in .NET? Did you compile the code? Have you tried to build the code since? If the answer to 1 and 2 is yes, and 3 is no, use Reflector to try to resurrect your code.

                      G 1 Reply Last reply
                      0
                      • P Pete OHanlon

                        Are you working in .NET? Did you compile the code? Have you tried to build the code since? If the answer to 1 and 2 is yes, and 3 is no, use Reflector to try to resurrect your code.

                        G Offline
                        G Offline
                        glennPattonPub
                        wrote on last edited by
                        #15

                        The answer to all three is yes (dag nabbit :) )

                        1 Reply Last reply
                        0
                        • G glennPattonPub

                          I agree that's why I backing up just chose the wrong folder (or the right folder in the wrong location...) Any relation to Grace Hopper?

                          J Offline
                          J Offline
                          Jason Hooper
                          wrote on last edited by
                          #16

                          glennPattonWork wrote:

                          Any relation to Grace Hopper

                          No. The spelling is different.

                          Jason

                          G 1 Reply Last reply
                          0
                          • J Jason Hooper

                            glennPattonWork wrote:

                            Any relation to Grace Hopper

                            No. The spelling is different.

                            Jason

                            G Offline
                            G Offline
                            glennPattonPub
                            wrote on last edited by
                            #17

                            Ahh Hooper not Hopper sorry!

                            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