When you create a new Windows Form application in Visual Studio 2010, and if you want to do something related config file, normally you will use ConfigurationManager namespace, for example: // Get the AppSettings section. NameValueCollection appSettings = ConfigurationManager.AppSettings; However, when you input “ConfigurationManager” in code, you will find the Visual Studio 2010 display [Read More ...]
http://stackoverflow.com/questions/1680663/disable-foo-has-encountered-a-problem-and-needs-to-close-window http://ctp.social.msdn.microsoft.com/Forums/en-US/winforms/thread/47d22408-ed84-42f1-a10b-e4ac971f3bcb http://social.msdn.microsoft.com/forums/en-us/Vsexpressvc/thread/B5A643E3-5963-444A-AC70-734B159E8A73
If you install Visual Studio 2010, you might meet the trouble that it is freeze on installing .NET framework 4.0, no matter you want to install .NET 4.0 using standalone version later, you still can not install .NET 4.0 successfully. The solution is : use a Clean up tool first. The following are detail steps: [Read More ...]
Since .NET 3.5 , you have seen the .NET Framework Client Profile. (From Microsoft) The .NET Framework 4 Client Profile is a subset of the .NET Framework 4 that is optimized for client applications. It provides functionality for most client applications, including Windows Presentation Foundation (WPF), Windows Forms, Windows Communication Foundation (WCF), and ClickOnce features. [Read More ...]
Today I give a topic which maybe most of us are interested in it, no matter you are a C++ or C# programmer, or even you are not a programmer, it is from the following questions which most of us always asked: 1: Why theres is no more Pointer in C#?2: How to release memory [Read More ...]
Symbol Factory .NET is a .NET software component which is produced by Software Toolbox Inc., and which used for adding animated objects from a library of over 3,600 industrial and manufacturing objects into your Visual Studio.NET software applications. Symbol Factory .NET is built around .NET Framework 2.0, so VB.NET and C# in Visual Studio 2008 [Read More ...]
The ComboBox in Windows Form is not like the same control in Web Form, it can not insert a Key and Value pair directly. So here is the way: 1: Init and insert Key and Value pair: List<KeyValuePair<string, string>> data = new List<KeyValuePair<string, string>>(); // Add data to the List data.Add(new KeyValuePair<string, string>(“Key1″, [Read More ...]
.NET programmers always need the Color values, numbers, names, and also maybe they want to see what the color show if see the color name. Here you can see the list of colors which you can use in your code: 1: Colors by Name 2: Colors by Lightness 3: Colors by Hue 4: Colors by [Read More ...]
In Visual Studio 2010, I moved some resources files to another folder, Built OK and ran OK, but some day I got an error, a control can not get related resource, the error message is:Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “DynamicCultures.ResTerminal.resources” was correctly embedded or [Read More ...]