Convert HTML to Text
I recently wrote about converting plain text to HTML. Here's some code to convert HTML back to plain text. This code should come in handy for any situation where you need to extract plain text from the Web.
By Jonathan Wood •
Created on Tuesday, April 05, 2011
|
Dynamically Creating a WinForms Dialog
If you want to allow the user to enter some text but would prefer not to add yet another form to your application, this little bit of code might be just the ticket.
By Jonathan Wood •
Created on Friday, December 31, 2010
|
Converting Text to HTML
Here's a simple routine that will format a string as HTML so that it can be displayed on a web page. It extends the functionality offered by the HttpUtility.HtmlEncode() method.
By Jonathan Wood •
Created on Thursday, March 31, 2011
|
Fast Text Search with Boyer-Moore
This article describes the Boyer-Moore exact pattern matching algorithm, presents C# code that implements the algorithm, and then tells you why you probably should not use the code.
By Jonathan Wood •
Created on Sunday, February 06, 2011
|
Converting Numbers to Words
This article presents some code that converts a number into words. For example, it converts 12345 to "Twelve thousand, three hundred forty-five and 00/100." This code is ideal for a check-writing program but easily could be adapted to other uses.
By Jonathan Wood •
Created on Wednesday, December 29, 2010
|
Creating Website Thumbnails in ASP.NET
Although there is a bit of a trick, it's pretty straight forward to write ASP.NET code to create a thumbnail image of a website given that website's URL.
By Jonathan Wood •
Updated on Sunday, December 12, 2010
|
An FtpClient Class and WinForm Control
The .NET Frameworks provide a rich assortment of classes for dealing with the Internet. However, piecing together working FTP code can be time-consuming. Here's a ready-made FTP client class, along with an FTP-client user control that you can drop onto your Windows forms.
By Jonathan Wood •
Created on Thursday, March 10, 2011
|
Dynamic Sitemaps in ASP.NET
Sitemaps can be a useful tool for helping search engines like Google find all the content on your site. But what if your content comes from a database? This article shows how to create a dynamic sitemap in ASP.NET.
By Jonathan Wood •
Updated on Sunday, January 09, 2011
|
Creating a Color Picker with an Owner Draw ComboBox
It's easy to create a color-picker control using an owner-draw combo box.
By Jonathan Wood •
Created on Friday, February 11, 2011
|
A Text Parsing Helper Class
If you need to write code that parses text, this helper class can make things easier for you.
By Jonathan Wood •
Created on Thursday, December 23, 2010
|