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. Is there a way out?

Is there a way out?

Scheduled Pinned Locked Moved Visual Basic
helptutorialquestion
13 Posts 5 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.
  • L Luc Pattyn

    Do "Rebuild All" to get rid of object files that seem younger than their source files, but actually got created some time ago (due to your date faking). :)

    Luc Pattyn [Forum Guidelines] [My Articles]


    this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


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

    :doh: Didn't even think of that. He just said "it" didn't work, but didn't say what "it" was.

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

    L 1 Reply Last reply
    0
    • D Dave Kreskowiak

      Changing the date has zero effect on the forms themselves. The only thing that can be effected is the code you wrote for the forms. On top of that, you haven't said anything about what the problem is other than "can't run them". So there's basically nothing anyone can tell you to fix "it".

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

      T Offline
      T Offline
      twsted f8
      wrote on last edited by
      #5

      I have tried running the individual forms, I have changed the start up object for the project setting it to a different form. When I run the program, a different form from the one I selected as the start up object is being displayed. The forms I altered and built when I had changed the date are not being loaded. I hope u will be able to help me

      D 1 Reply Last reply
      0
      • D Dave Kreskowiak

        :doh: Didn't even think of that. He just said "it" didn't work, but didn't say what "it" was.

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

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #6

        Yeah, date cheating can have a lot of consequences... ;)

        Luc Pattyn [Forum Guidelines] [My Articles]


        this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


        D 1 Reply Last reply
        0
        • L Luc Pattyn

          Do "Rebuild All" to get rid of object files that seem younger than their source files, but actually got created some time ago (due to your date faking). :)

          Luc Pattyn [Forum Guidelines] [My Articles]


          this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


          T Offline
          T Offline
          twsted f8
          wrote on last edited by
          #7

          Hi Thanks for the quik reply. I have just tried that, & it seems even that has failed. I am still getting a different form to the one that I have set as the start up object. If anyone can help me, I would be most greatful

          L 1 Reply Last reply
          0
          • T twsted f8

            I have tried running the individual forms, I have changed the start up object for the project setting it to a different form. When I run the program, a different form from the one I selected as the start up object is being displayed. The forms I altered and built when I had changed the date are not being loaded. I hope u will be able to help me

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

            Wow. OK. I'd probably start by Cleaning the solution (under the Build menu) and do a Rebuild after that. If that doesn't take care of it, I'd look into getting every file in the solution's Modified date/times back into the past and then redo the above procedure.

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

            1 Reply Last reply
            0
            • L Luc Pattyn

              Yeah, date cheating can have a lot of consequences... ;)

              Luc Pattyn [Forum Guidelines] [My Articles]


              this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


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

              I never do that, so it's no surprise I haven't run into the problem! :-D

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

              1 Reply Last reply
              0
              • T twsted f8

                Hi Thanks for the quik reply. I have just tried that, & it seems even that has failed. I am still getting a different form to the one that I have set as the start up object. If anyone can help me, I would be most greatful

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #10

                Hi, how many projects? is it the right project that is running? how many forms? which one is showing? which one would you expect? show the code that justifies this. :)

                Luc Pattyn [Forum Guidelines] [My Articles]


                this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


                T 1 Reply Last reply
                0
                • T twsted f8

                  Hi friends Am in a bit of a fix. I have changed my system date on my pc, to the 29th of October, test the functionality of the app I was developing. I have returned the date to the presnt date but now I cant even run the other forms that I had built durng that time. Does anyone out there know how to fix this or I gotta redo my forms? thanks for reading this tw5ted f8 I

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

                  Set the date back to where it was. Build all. Delete your bin and obj folders. Set the date back. Never do this again. In fact, just deleting the bin and obj folders should do it.

                  Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                  I 1 Reply Last reply
                  0
                  • L Luc Pattyn

                    Hi, how many projects? is it the right project that is running? how many forms? which one is showing? which one would you expect? show the code that justifies this. :)

                    Luc Pattyn [Forum Guidelines] [My Articles]


                    this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


                    T Offline
                    T Offline
                    twsted f8
                    wrote on last edited by
                    #12

                    Hi Thanks for the help, I deleted the bin and obj folders and then rebuilt, and the app is now working fine. Thanks a million

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      Set the date back to where it was. Build all. Delete your bin and obj folders. Set the date back. Never do this again. In fact, just deleting the bin and obj folders should do it.

                      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                      I Offline
                      I Offline
                      Indrora
                      wrote on last edited by
                      #13

                      Christian Graus wrote:

                      In fact, just deleting the bin and obj folders should do it.

                      Just what i was going to say -- the Obj folder is making its own choices... it sees a "newer" version and tries to use that but it cant because the dates dont match. Thats what I call a "clean all" :)

                      ---- Morgan Gangwere Lead programmer, Unknown Software "Pinky, are you thinking what im thinking?" "I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?" "You want me to calculate that? or should we take over the world?" "ooh! OooooOOOooH! lets find out!"

                      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