Results 1 to 11 of 11

Thread: Glitch??

  1. #1
    Ryker Wells is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Feb 2012
    Location
    Fort Kent, ME
    Posts
    16
    Reputation
    18

    Glitch??

    So I had some buttons in the program that would not go invisible just WOULD NOT. So i deleted them to start over and make new ones, well... they disappeared on the designing window but when i run it the buttons come back just where they were. Please tell me i can fix this, i have many hours into this project.

    Please look at the "Max" buttons below...they are not there at all when i design the game (picture 1) but they show up when compiled (picture 2)
    In development:
    in development.png

    When compiled:
    game after.png

  2. #2
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,183
    Reputation
    2368
    If you think build files has been corrupted you can simple delete them, they are all generated by VS from source files when you compile. One way to do this is to exit the project and use Windows Explorer to delete Bin and Obj folders from project. In VB Express in expert mode there is also a 'Clean Solution' option available, but it may not be so easy to find for non-expert users.
    It is very rare for those files to be locked/corrupted, but it can happen.

  3. #3
    Ryker Wells is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Feb 2012
    Location
    Fort Kent, ME
    Posts
    16
    Reputation
    18
    So you want me to delete the Bin and Obj folders? Would that get rid of everything?

  4. #4
    Ryker Wells is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Feb 2012
    Location
    Fort Kent, ME
    Posts
    16
    Reputation
    18
    I deleted them and now the program wont Run

  5. #5
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,183
    Reputation
    2368
    So you're saying the program won't run?

  6. #6
    Ryker Wells is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Feb 2012
    Location
    Fort Kent, ME
    Posts
    16
    Reputation
    18
    Not at all, it gives me an error when i try to run my game and I tried to fix it but it gives me the same problems. I'm trying really hard not to have a panic attack.

  7. #7
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,183
    Reputation
    2368
    It gives you an error too?

  8. #8
    Ryker Wells is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Feb 2012
    Location
    Fort Kent, ME
    Posts
    16
    Reputation
    18
    yea, here a picture

    error.png

  9. #9
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,183
    Reputation
    2368
    Close VS and reopen if you didn't.
    Build menu > Build project.

  10. #10
    Ryker Wells is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Feb 2012
    Location
    Fort Kent, ME
    Posts
    16
    Reputation
    18
    Tried that, doesn't do anything the same error comes up.

  11. #11
    Ryker Wells is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Feb 2012
    Location
    Fort Kent, ME
    Posts
    16
    Reputation
    18
    I got it working, i copied the graphics and code over to a new project. Thanks for the help it's always appreciated.

Bookmarks

Posting Permissions

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