How To Ideas | How To Articles | How To Tutorials


List/Grid C# Source Codes Subscribe RSS feed of category C# Source Codes

How To Create, Delete, Edit, Select Registry Keys And Its Values Using C#

Here is our sample project available for you to download for free in which we have covered a number of topics you can learn to manipulate Registry Keys. This project is written in C# and its a console application. Project Features: Finding Registry Keys By Searching For Registry Keys Or By Searching For Registry Values. Deleting Registry Keys And Registry Value Fields. Creating New Registry Keys And Registry Key Values…. Read more »

How To Compare Two Strings In C#

You can easily Compare two strings in C#. Result of Comparison of two strings return either false or true which tells us whether the two strings are equal or not. String Comparison is case sensitive. This means that if you have a single character in a string in different case than the other string, then the two string wont be considered as equal. But you can tell the .NET to… Read more »

How To Format Date And Time In C#

You can configure DateTime object to show output in different ways as your need. You can easily fetch the System date and Time by using the following command DateTime dateTime = DateTime.Now; or you can create any custom date time object by using following command DateTime newDateTime = new DateTime(2011, 3, 21, 10, 23, 12); // new DateTime(year, month, day, hr, min, sec) Now if you just output any of… Read more »

How To Search A Folder Using C#

Are you looking for a solution to Search A Directory content and find a Directory/Folder with specified name, but not able to find one for yourself. Then here is a simple and best solution to you. I have created a an Application which Searches a directory or the directory itself and its sub directories as well returns us the result consisting of name of directory found, and its full path…. Read more »

How To Write Text On Images Using C#

You have an image and want to create a signature of your name on it. You can easily Write Text On Images for such purpose by using any Image Editor program. But if you want to create an Application which will do this work for you, then its very easy to create such Application in C#. Instructions: Create a new instance of Image class which will hold the the Image… Read more »

How To Search Files In A Directory And Its Sub-Directories Using C#

Are you looking for a solution to Search A Directory content and find a File with specified name, but not able to find one for yourself. Then here is a simple and best solution to you. I have created a full Application which Searches a directory by following 8 different kinds of Search Criteria and returns us the result consisting of name of file found, its size and its full… Read more »

How To Perform Searching In String In C#

If you want to perform any kind of searching in strings in c# like If you want to search whether a string is present in another string or not If you want to search whether a character is present in another string or not If you want to check whether a string starts with specified string or not If you want to check whether a string ends with specified string… Read more »

How To Crop, Rotate, Resize, Save Images Using C#

If you want to create an application which allows you to load image from your Computer or Internet and then perform some normal manipulations on that image and finally save that image in your hard disk, then you can download my full application on this topic created using C# and Visual Studio 2010. You just learn from it and create your own application with more functionality. Instructions: In this application… Read more »

How To Create MP3 Player

If you want to create your own MP3 player then here is my own c# code for a MP3 player. Download this code, learn from it and create your own Player with some more features. For this code to work you have to add a refrence of window media player in your project. In solution Explorer Window ( If not visible, then you can turn it on from View->Solution Explorer… Read more »

How To Create Notepad Application

Here is my simple notepad application, which demonstrate how you can Create and save .txt files using FileInfo class and SaveFileDialog class Write content to those files using StreamWriter class Open files using OpenFileDialog class Printing using vatious classes from System.Drawing.Printing namespace Searching and Replacing text in the application in forward and reverse direction Adding current time in your .txt file Changing background colour using ColorDialog Changing Font using FontDialog… Read more »



© 9830 How To Ideas. All rights reserved.
Proudly designed by Theme Junkie.