Wednesday, February 18, 2009

Namespace qualifier

Is it possible to create a namespace named "system" in our application. I have tried to create a class under the namespace of " System"in my application which ends in a compile time error. I tried to fix this error. But i couldn't. When i google it, i found a nice article from msdn to avoid this error. We can use the existing System namespace by using global::System to avoid the compile time error.

Reference :
http://msdn.microsoft.com/en-us/library/c3ay4x3d(VS.80).aspx

To enable User Account control when the application starts

Very useful link to enable vista's User account control

http://www.blackwasp.co.uk/VistaRunAsAdmin.aspx

Keyboard Shortcuts to expand/collapse code regions

Ctrl+M, Ctrl+M expands/collapses the current region block.
Ctrl+M, Ctrl+O collapses all the region blocks in the current source code file.
Ctrl+M, Ctrl+L has the opposite effect, expanding all .NET code re

Wednesday, February 4, 2009

What is the use of shfusion.dll?

It causes the contents of the assembly folder to appear differently than the contents of normal Windows folders.

How to remove a particular version from assembly cache?

To remove all the versions of an assembly, use
gacutil -u [Assemblyname]

To remove a particular version of an assembly, use
gacutil -u [Assemblyname], ver=[version]