[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
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.
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
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