Results 1 to 6 of 6

Thread: Problem in Visual Studio 2005

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2010
    Posts
    965

    Problem in Visual Studio 2005

    hi, its 3rd or 4th time that i am having this problem. the problem is that suppose i added a new control, any one textbox, button, combobox, checkbox etc etc. and when i run my project so it does not show that new control on form. or sometimes i add a control and it display on my form at run time but when i delete the control so it does appear still on form at run time. what is wrong with this?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Problem in Visual Studio 2005

    It's hard to say for sure but I would guess that you actually have build errors so the build is failing and you actually running old output. The simple option is to open the 'bin' folder and delete the contents. If you do have build error then there's no old output to run so you'll be forced to fix them. If there are no build errors and it was just a glitch, which does seem to happen occasionally, then that will force new output to be created.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2010
    Posts
    965

    Re: Problem in Visual Studio 2005

    Quote Originally Posted by jmcilhinney View Post
    It's hard to say for sure but I would guess that you actually have build errors so the build is failing and you actually running old output. The simple option is to open the 'bin' folder and delete the contents. If you do have build error then there's no old output to run so you'll be forced to fix them. If there are no build errors and it was just a glitch, which does seem to happen occasionally, then that will force new output to be created.
    hi, i have deleted those files and run my project again, but it still running the same form?

    and you said sir that If you do have build error then there's no old output to run so you'll be forced to fix them. SO HOW i will fix them?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Problem in Visual Studio 2005

    Quote Originally Posted by Abid Durrani View Post
    SO HOW i will fix them?
    If there are build errors then that depends on each specific error. If there aren't build errors then I can only assume that something somewhere is corrupt.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2010
    Posts
    965

    Re: Problem in Visual Studio 2005

    Quote Originally Posted by jmcilhinney View Post
    If there are build errors then that depends on each specific error. If there aren't build errors then I can only assume that something somewhere is corrupt.
    only this project gives error. all other projects run perfectly. i have freshly installed all things few days ago. what you suggest now?

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Problem in Visual Studio 2005

    Create a new project and import items from the old one into it.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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