Internationalization is frequently the bane of a developer’s existence. Fortunately, .NET provides a useful namespace called System.Globalization that contains most of the internationalization data you’ll ever need. Simple usage of this for displaying each culture, calendar, and currency is shown here. Obviously, the Windows command interpreter (cmd.exe) doesn’t do Unicode, so running this as a […]
Tag: C#
C#.NET: Doc/Docx to Simple HTML Converter
I have this problem: mo matter what my official job or title, people keep sending me Word documents that they want posted online to match the web site styling. Yes, you can use Word to convert documents to HTML, but Microsoft’s version of “HTML” resembles the Rohonc Codex — little has changed since the days […]
C#.NET: Countdown Timer
This is a simple Windows Forms countdown timer I created a few years back. I’d start something in the kitchen, get distracted on the computer, and then burn whatever I was cooking, so I built this to warn myself. The program takes user input into a masked textbox, uses the Systems.Windows.Forms.Timer class to count down […]