Results 1 to 4 of 4

Thread: [RESOLVED] Changes made in designtime not visible in runtime!

  1. #1

    Thread Starter
    Member Warad's Avatar
    Join Date
    Feb 2008
    Location
    Netherlands
    Posts
    63

    Resolved [RESOLVED] Changes made in designtime not visible in runtime!

    Hi,

    I have a problem with a project.

    When i make changes in designtime, visual studio dont show these changes in run time anymore.

    example:
    When i add a new button to the form1 in design time, the button is not visible in runtime. And Yes, visible is set to true. Also, when i resize the form in design time nothing is resized in run time. When i add a new label to the form, the label is not visible at runtime. All other controls that i previous added are working fine. Exept for this. When i add this code at form load event to a previous added label:
    me.Label1.text = "This is a test"
    Nothing is changed at run time. It still says Label1.

    Every control and every code that i added to the program before saving en leaving visual basic are working fine.
    Other projects are working fine also. Its just this project i have problems with. Restarting the comp dont work.

    Anyone knows whats going on or how to fix? Anyone had this problem before?

    Thx,
    Warad

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

    Re: Changes made in designtime not visible in runtime!

    Do you have the build configuration set to Release instead of Debug? Is your build actually successful? Try deleting the bin\Debug folder and see if it will still run. If it won't then one of those is your problem.
    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
    Member Warad's Avatar
    Join Date
    Feb 2008
    Location
    Netherlands
    Posts
    63

    Re: Changes made in designtime not visible in runtime!

    Thanks jmcilhinney

    After deleting the bin folder everything works great again
    I still dont know what went wrong, but at least i know now how to fix it when it happens again. Thanks again.

    Warad

  4. #4
    Member
    Join Date
    May 2008
    Posts
    47

    Re: [RESOLVED] Changes made in designtime not visible in runtime!

    Hello,

    I am having the same problem, but I can't find a 'Debug' or 'bin\Debug' folder.

    (just realized this is a .NET post; I am having this problem in VB6, don't know if it's the same)

    -Dan
    Last edited by DSto; Jun 27th, 2008 at 07:59 PM.

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