Get Enum Type Name List
How to get all Enum names to List ?
Singleton vs Static Class
Singleton pattern, is actually a design pattern that was from Microsoft patterns & practices. And, when we say Singleton, we should know it is a class. About more details, we can read msdn.
How to programmatically click a button in WPF
Actually, there is no big different if you want to programmatically click a button in either WPF or Windows Form. They might have slightly different approach.
Upper Case or Lower Case String in Linux C
There is no direct function to convert a string to upper case or lower case in Linux C. Here we collect 2 functions from internet:
Install Eclipse for C/C++ Windows Edition
We have a C++ project based on Linux system, so we need a good Editor but not Visual Studio since the C++ is for Linux.
Hello World Example in Different Languages
If you are learning C, C++ or even Java, the first code example might be similar, they are all a example named Hello World.
Retrieving the COM class factory for component with CLSID
We have a C# application which built in Windows XP using Visual Studio 2010, when we install this application to a 64-bit Windows 7 PC, we got the following error message in a popup windows:
A nice computer programming notes website
A nice computer programming notes website, the author recorded lots of experience and notes from his projects, which is very good reference site for other programmers.
How to use Union in C#
There is no Union in C#, however, if you want to use convert Union from C++, do like the following:
C# Using Statement
using Statement Provides a convenient syntax that ensures the correct use of IDisposable objects.
Get Local Computer Name in C#
Here we got 4 ways to get local computer name:
Change Sql Connection String Dynamically
We can easily to read Sql Connection String from config file such as app.config and web.config. But how can we change string items in run time ?
C++ online reference
Here is the list of C++ online reference:
Shared memory using C#
There are helpful articles are about Shared memory data switching using C#, but they are written in Chinese:
A sample using union in C
This sample code is for testing some data type border value using C union. Worked on Linux OS.