Posts|Comments

Monthly Archives: August 2008

Microsoft .NET Framework 3.5 SP1 Source Code Released

I would have never known that this takes up these many calls to perform a simple Console.WriteLine operation unless Microsoft had released the source code of the .net framework. I am delighted that the source code for 3.5 sp1 is out. It is time to dive deep in the framework itself.
Find the link below:
http://blogs.msdn.com/rscc/archive/2008/08/28/net-framework-3-5-sp1-sources-are-available.aspx

Run Commands for Windows XP

I found this incredible link to start most of the XP system apps from Run box.

Program
Run Command

Accessibility Controls
access.cpl

Accessibility Wizard
accwiz

Add Hardware Wizard
hdwwiz.cpl

Add/Remove Programs
appwiz.cpl

Administrative Tools
control admintools

Adobe Acrobat ( if installed )
acrobat

Adobe Distiller ( if installed )
acrodist

Adobe ImageReady ( if installed )
imageready

Adobe Photoshop ( if installed )
photoshop

Automatic Updates
wuaucpl.cpl

Basic Media Player
mplay32

Bluetooth Transfer Wizard
fsquirt

Calculator
calc

Ccleaner ( if installed )
ccleaner

C: Drive
c:

Certificate Manager
cdrtmgr.msc

Character [...]

Excellent Programming Quotations

While looking for an appropriate signature quote I stumbled across this website. I really liked a few of the quotes.

And the users exclaimed with a laugh and a taunt: “It’s just what we asked
for but not what we want.”
If the lessons of history teach us anything it is that nobody learns the lessons that history [...]

Generate Random GUID by script

I had a task in hand to read and update a few registry settings. Since the registry keys might change in future and some more changes might be required on the fly, I decided to go with script instead of a config driven executable. Also, one compelling reason was that it has been some time [...]

SharpZipLib Decompression

Very often I require to perform (de)compression of archives programmatically. I use SharpZipLib for this purpose. After fiddling with several algorithms I found this simple piece of code that performs an elegant task of quick decompression of a zip archive.
internal void Decompress(string fileName,string extractPath)
{
FastZip fZip = new FastZip();
fZip.ExtractZip(fileName, extractPath, “”);
}
Link: http://dotnet.org.za/thea/archive/2006/01/17/Unzip-files-programmatically-in-C_2300_-_2D00_-_2300_ZipLib.aspx

Huge list of productivity tools and utilities

While exploring for CodeRush guides I stumbled across this website. The author has compiled a very good link to various tools and utilities which someone can use to boost his productivity a great deal. The reason I bookmarked this website and I am providing the link here is that it contains almost all the productivity [...]

Power of Unix on Windows

I am an ardent admirer of console commands. For a very fast execution of the most simple tasks, I rely on cmd. About an year back I saw my tech architect using Grep on windows. Until then I didn’t know how effective it could be on Windows platform. At that very moment I downloaded unix-utilities [...]

Quick script in C#/VB and validate LINQ Expressions

I have been trying to push myself for learning LINQ and Lambda expressions for quite some time now. I try to create some dummy projects sometimes but since our current project is being developed in .NET Framework v2.0 so these very new things get out of touch very soon. Also, there is so much happening [...]

Reasons to write bad code !!

Do you write bad code ? I hope not. I also do not write bad code. Are you trying to guess what the topic is about ? Ok here goes the story…
I was new in organization. Probably around 3 months or so. It was like any other day at office. We all were working on [...]