Results 1 to 5 of 5

Thread: "F5" Preview not updating my changes? Loads previous state?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2008
    Posts
    22

    Angry "F5" Preview not updating my changes? Loads previous state?

    Okay this is also another major problem I am having. Sorry for posting another post right after posting another one but I didn't want to combine them both.

    Okay so I'm doing my project, save it a few times to be safe, maybe hit build a couple times too to check it out, and then hit f5 for a preview. Everything is going alright. Then, I add some more stuff, hit f5, and realize my changes were not made!

    To test this out, I even opened a new project and hit f5, and it kept loading the same thing!

    Lets say I add buttons to my form, I hit f5, they don't show up on the preview!

    HELP!

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: "F5" Preview not updating my changes? Loads previous state?

    Try clearing your bin folder before rebuilding.

  3. #3
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    607

    Re: "F5" Preview not updating my changes? Loads previous state?

    yea try clearing your bin/Debug and Release folders. I dont know why this is happening. Maybe it fails to compile the new code so it uses your old exe? I dont know my VS dosnt do that.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Aug 2008
    Posts
    22

    Re: "F5" Preview not updating my changes? Loads previous state?

    im using vb2008. yeah its reallly frustrating!! i push f5 and i get something from a looooong time ago! even when i do new project it still does it

    but thanks ill try deleting the folders next time i try it

  5. #5
    Frenzied Member
    Join Date
    Jan 2008
    Posts
    1,754

    Re: "F5" Preview not updating my changes? Loads previous state?

    I had the exact same problem it is probally because of an error in your code. Somewhere along the line you have an error and when you click F5 instead of it saying you can't run the application it just acts the way it was before the error.

    This happened to me quite a bit of time, try adding Try Blocks and error handlers around your code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width