Partilhar via


Make it Simple

How to add Full Screen Mode in your MFC app (Visual Studio 2008 or later)?

Recently I need to add full screen mode for one of my MFC projects. Like what we did usually, my...

Date: 10/28/2009

Confusing Errors in Building Win32 application in VS 2008

Well, when you write your first win32 console application in Visual Studio 2008, you probably just...

Date: 07/13/2009

Learning delegate, anonymous method, Action and Func<T, TResult>

delegate In C++, we have function pointers, so in C# we need a similar concept, which is "delegate"....

Date: 07/07/2009

Registry Redirection for 32-bit applications on 64-bit OS

Well, this title looks complicated...actually the story is pretty simple by using an example. For...

Date: 06/22/2009

How Do You Detect if Running OS is Windows 7 or Later?

Recently I need to write some codes to disable one feature on Windows 7 for an application. For...

Date: 06/19/2009

What are Upgrade, Product and Package Codes used for?

Recently I am working with Windows Installer and think ProductCode, UpgradeCode and PackageCode are...

Date: 06/10/2009

Remote Debugging in Visual Studio 2008

Common scenario is that a developer wrote an application on his/her dev machine A (which has source...

Date: 06/03/2009

Margin, Windows Frame and Glass Window

A couple of weeks ago I tried to implement a glass window in C# application. My first thought is to...

Date: 08/15/2008

My Favoriate Tools in Windows SDK

Besides using Code Analysis (was FxCop), Source Analysis (was StyleCop) and Unit Test Code Coverage...

Date: 06/04/2008

Visual Studio IDE - basic and useful shortcuts

CTRL + F -- search string/text ESC --- change focus [for example, after you found the string and...

Date: 06/04/2008

Understanding build environment setttings in Visual Studio IDE vs Command Prompt

As we know, both Visual Studio IDE and its Command Prompt provide build environments to build our...

Date: 05/16/2008

Strong Name and Authenticode Signature

Sometimes you will see a managed assembly have both strong name and authenticode signature and are...

Date: 05/05/2008

A few common SQL scripts

A few command SQL script (1) Insert multiple records of Table_A to a new Table_B SELECT * INTO...

Date: 04/30/2008

Backward Compatiblitity

A few months ago I read two articles on MSDN about the compatibility One is...

Date: 04/18/2008

Refactoring Switch or IF/ELSE statements

It is not unusual to see a lot of switch statements or multiple if else statements in OO codes. From...

Date: 02/27/2008

Setup Errors on Visual Studio 2008

Recently I uninstalled my VS 2008 and tried to install VSTS 2008. Unfortunately I was blocked by a...

Date: 02/12/2008

AppSearch & LaunchConditions

Recently I read the book of "The Definitive Guide to Windows Installer" to understand how Windows...

Date: 01/02/2008