Accessing Hotmail using C# Tutorial

A tutorial that shows how to build your own client, using a sure and solid way to communicate with Hotmail in the same way as Outlook does.

To build a working client we will need to know about the way Outlook communicates with Hotmail. The protocol that is being used is called Httpmail. Even when completely unfamiliar with this protocol, it is not hard to understand….

SMTP Mailing Application Tutorial

A tutorial that tells how to use the Mail Components in .NET to create a simple application to send e-mail

The Smtp Mail functionality is contained in the System.Web.Mail namespace and contains three classes.SmtpMail – Class used to send Mail via Windows 2000 SMTP services. MailMessage – This class contains everything contained in an e-mail message. An instance of this can be sent by the SmtpMail class. MailAttachment – This is a class representing an attachment to an email….C# Tutorials

Creating a database connection Tutorial

A tutorial that shows how to create a database connection and all data objects runtime

This tutorial shows how to create a DB Connection through either OLE or SQL in runtime using C# as well as VB. Drag and dropping in the IDE is really easy, but there are times when you need to do it in runtime. SQL and OLE both have their own namespaces in the .NET Framework …

DataGrid Control Tutorial

A tutorial that shows how to use DataGrid control in developing web based applications

The Windows Forms DataGrid control provides a user interface to ADO.NET datasets, displays ADO.NET tabular data in a scrollable grid, and allows for updates to the data source. …

Saving app settings as XML Tutorial

A tutorial that shows how to save application settings to XML.

Because the user may want to save many different data types, it seemed that an Object type was the way to go….

Manipulate XML data with XPath and XmlDocument Tutorial

A tutorial that shows how to about manipulate XML source data

The tutorial shows how it is easy-to-read XML source data & select and locate XML nodes and navigate through them using XPathNavigator and XPathNodeIterator…

Get and set the wave sound volume Tutorial

A tutorial that shows how to retrieve and change the current wave volume of the sound card by using waveOutGetVolume() and waveOutSetVolume() from the unmanaged Windows API in C# through P/Invoke

The .NET Framework has a multitude of methods you can use to retrieve and set different system settings, however controlling the output volume of the soundcard is not one of them. As a result, we will have no other option than to call the unmanaged Windows API, more exactly the waveOutGetVolume() and waveOutSetVolume() functions from the winmm.dll library. …

ASCII art with C# Tutorial

A tutorial that shows how to write an image to ASCII converter

The first thing is to of-course to load the image. Next step is to grayscale the image. Loop through the image's pixels & every pixel influence the resulting ASCII char,…

Drawing UPC-A Barcodes with C# Tutorial

A tutorial demonstrates a method to draw UPC-A barcodes using C#.

The UPC-A barcode is composed of 12 digits which are made up of the following sections:
the first digit is the product type, the next five digits are the manufacturer code, the next five digits are the product code, the last digit is the checksum digit….

Drawing with C# Tutorial

A tutorial that shows how to draw different things on a form using OnPaint

Start a new Windows Application project. Leave the form's width and height unchanged, Visual C# .NET default (300 x 300 pixels).
We override OnPaint with the following code …