Tag

SourceCode

Browsing

(Flashback Post: March 15,1997) Delete ’97 and subsequent Delete XP has been one of the popular command line utility that I wrote & made available for free! Description: Delete XP is for deleting files from Command Prompt in Windows (Windows 9x and Windows NT 4.0/2000/XP). Unlike, the standard “DEL” command which only deletes the file, Delete XP deletes the files and sends them to the recycle bin. In our opinion, this is what DEL command in the command prompt of Windows should have been!. This was one of my favourite Win32 Console applications that I wrote, since I took enough…

(Flashback Post: February 5,1999) WhoAmI is a utility I wrote and released for free in 10/December/1996. This is a Windows command line program that displays the currently logged in user on a particular Windows Machine, FQDN (Fully Qualified Domain Name of the PC) and how much time has passed since you started this Windows session and the path of Windows Directory. Download the utility from here & full source code from here. Platform:    Microsoft Windows ‘9x, Windows NT 4.0 & Windows 2000 Executable Size:    32K Any Dependent Dll’s:    Nil Development  platform:    Microsoft Visual C++ 6.0 SP1 Description: “Who Am I”…

Today I presented in Tamil Internet 2004 conference held at Singapore, on counting the number of letters/alphabets in a Unicode String. The problem is that if we use the string length functions included in major programming platforms we get only the number of characters based on the storage locations needed. They don’t understand the language and so don’t return letter (எழுத்து) count, instead, they return the count based on the number of Unicode code points. A few months earlier, I had written a quick fix solution in VB.NET to handle this. As a reusable solution to this problem, today I…

Many times while working in Indic Language web pages, I want to find the true character length of a string. .NET String.length() or its variants from other major programming languages, return character length based on storage space. They don’t follow the language rules, so they are incorrect according to language grammar rules. For example if the string is Tamil ‘வி’ or ‘கொ’, or Hindi ‘मा’, the returned length is ‘2’. Obviously this is incorrect, as per grammar it should be counted as ‘1’ character. To solve this problem, I have come up with this sample Windows Forms (.NET Framework 1.0) application.…