Solved

Running a program does not reflect the controls that I have laid out in Visual Studio Designer.

Posted on 2006-10-30
1
184 Views
Last Modified: 2010-04-16
I use Visual Studio 2005 and have setup a Tab control and some textbox controls contained in panels.  When I run the program (I have used the clean code, rebuild and build options several times) it gives me a version of code that I had 1/2 hour ago. As stated I tried saving all, cleaning, rebuilding and building and nothing works.  Then I tried deleting the entire Tab Control with everything in it and it still gives me the old form with outdated controls.

As a side note, at work I use VS Studio 2005 and none of this is happening.

Thanks
0
Comment
Question by:techhound
1 Comment
 
LVL 6

Accepted Solution

by:
der_jth earned 500 total points
ID: 17837167
You didn't mention if the problem is related to running the app from the VS Debugger (F5) and whether or not it occurs when running from outside the IDE. Try these:

1) Check your project options for any surprises (Project > YourApp Properties... > Debug). Make sure that Start Action is set to "Start project" instead of some hardcoded path to the old exe.

2) Go to your application's directory and wipe the directories called bin and obj. Try again.

3) If #2 fails, recompile the application from scratch and try running the exe directly from the bin\debug directory.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question