Implementing Word Wrap in Email Messages
In this article, the author presents code to implement word wrap in emails sent using C# on the .NET platform.
By Jonathan Wood •
Updated on Wednesday, July 04, 2012
|
Converting Between Integers and Spreadsheet Column Labels
Instead of numbers, spreadsheet programs use a system of letters to label columns. Here's a handy routine that can convert an integer value to a column label, and also convert column labels back to integers.
By Jonathan Wood •
Created on Monday, April 11, 2011
|
Implement Accelerators in an MFC Dialog Box
Menus within MFC dialog boxes do not, by default, support accelerators. This articles shows the simple change required to implement accelerators in a dialog box.
By Jonathan Wood •
Updated on Sunday, December 12, 2010
|
Advanced Message Map Techniques
This article describes a few, more advanced message map techniques that are not implemented automatically by the MFC Wizards.
By Jonathan Wood •
Updated on Saturday, December 04, 2010
|
Quick and Easy Method to Remove Html Tags
Here's a short snippet of code you can use to strip out HTML tags from a block of text.
By Jonathan Wood •
Created on Sunday, April 08, 2012
|
Redirecting to WWW on ASP.NET 4.0 and IIS7
Simple way to redirect pages to URL with a WWW prefix.
By Jonathan Wood •
Updated on Tuesday, December 07, 2010
|
A Tic-Tac-Toe Game Engine
Here's a fun C# project I put together that allows you to play Tic Tac Toe with the computer. Tic Tac Toe is a very simple game but I still found this project interesting, and I found there are actually a couple of tactics that the computer can employ when playing the game.
By Jonathan Wood •
Created on Saturday, October 20, 2012
|
Abbreviating URLs
Abbreviating a URL is easy: Just truncate it. However, this article shows how you can more intelligently truncate a URL so that it conveys more information about the full URL.
By Jonathan Wood •
Updated on Sunday, December 12, 2010
|
Controlling JPEG Compression
The JPG graphics format supports varying level of compression and quality. Although it isn't readily visible, the Image.Save() method allows you to control this level. Here's a sample C# method that demonstrates how.
By Jonathan Wood •
Created on Friday, May 18, 2012
|
A C# Command-Line Parser
.NET applications can use Environment.CommandLine to access any command-line arguments that were supplied to the program. However, there's more work to do if your command line support many options. Here's a command-line parser class to make it easy.
By Jonathan Wood •
Created on Tuesday, March 22, 2011
|