Posts|Comments

Author Archives: Abhishek

Hi, my name is Abhishek. I am working as Sr. Software Engineer in a software firm in bangalore. I am primarily into DotNET and Microsoft Technologies. I also have deep interest in other technologies be it established or nascent. I like to read books and surf net as my favourite pass time.

Remote Debugging with VS2008

This is a very common thing many of you might be knowing this thing already. However, I am just putting this information as it might help someone. In a distributed development scenario it becomes imminent to have remote debugging possible lest you have your development environment both on your regular development system and the remote [...]

Delete .svn folders recursively

Very often scenarios crop up when we want to clean our mammoth source code repository without having to export it elsewhere. I was looking for an elegant way to delete hidden .svn folders which are created by tortoise svn to keep track of the repository state on the client. I found this site which provided [...]

MSDN code examples could be incorrect as well

It was really odd for me to find an error in MSDN code example which took almost a couple of hours to figure out what is wrong. I am working in VSTO (Visual Studio Tool for Office). I am developing a plugin which is suppose to override some of the specific Office 2007 functionalities and [...]

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 [...]