.NET Sample Code
-
Pinging a host from VB .net
by MstrControl
A class that allows ping a computer.
-
Image to HTML
by Michael H
A simple program that converts images into blocks of font tag colored 1s and 0s.
-
Crafty Conversion Between Graphic Formats
by Karl Moore
Think converting images between different formats is complicated in .NET? Think again. Karl shows you how.
-
How to display a date in a specific language
by Edward Tanguay
How to convert a date and display it in the correct format for a given language.
-
Convert an array to a comma-delimited string
by Edward Tanguay
How to convert an array into a comma-delimited string with String.Join
-
Converting HTML to Text
by Karl Moore
Demonstrates how to use a simple regular expression to remove all HTML tags from text
-
XBrowse
by J P
XBrowse is a small application that allows the user to view and edit XML files as well as extract XSD schema files from the XML document. It is overall a pretty simple program that is based off of a code snippet in the VS.Net IDE.
-
Serialize and deserialize objects to an XML file
by Edward Tanguay
This code shows the simplest way to automatically convert the information in an object to an XML file and back into an object. This is useful if you need to make information available web-server like on your server for other applications to pick it up.
-
How to write an ASHX file
by Edward Tanguay
An example of using a web handler file which you can use when your output is not going to a browser but to an xml-consuming client of some kind, keeping you away from all the browser technology you don't need.
-
Drawing A Color Gradient
by Michael H
How to fill a form or draw text with a color gradient.
-
How to disable uppercase/capitals menus in Visual Studio 2012
by James Crowley
Simple registry fix to turn off the upper case menu bar in Visual Studio 2012