Tutorials

Create XML File in VB.NET

Submitted by donbermoy on
Today in VB.NET, I’m going to teach you how to create a program that also creates an XML file using VB.NET. We all know that XML (Extensible Markup Language) is an easy way to create common information formats and share both the format and the data on the World Wide Web or elsewhere. Now, let's start this tutorial! 1.

Bubble Sort in C# Console

Submitted by donbermoy on
Today in C#, I will teach you how to create a program for bubble sorting using C# console. We all know that bubble sort is a sorting algorithm that is repeatedly searching through lists that need to be sorted, comparing each pair of items and swapping them if they are in the wrong order. Now, let's start this tutorial! 1.

Use DateTime Stamp Appropriately in PHP/MySQLi

Submitted by Yorkiebar on
Introduction: This tutorial is on how to use timestamps properly in PHP and MySQLi to sort information from databases in to the correct order. What's a Timestamp? A timestamp is a data type in PHP and MySQL(i) which is used to hold the correct format of a specified date, time, or date and time together. Database: To enable a database table to hold a timestamp we can first create a database, named 'fln', then create a table named 'test', and give it the following column structure... id, int, 5 length, primary key, auto increment date, dateti

Change Case: Uppercase and Lowercase in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that changes case either uppercase or lowercase letters using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add two Buttons named Button1 and labeled it as "Uppercase" and Button2 labeled as "Lowercase".

Math Functions in C#

Submitted by donbermoy on
Today, I will teach you how to create a program that has math functions in C#. Here you will learn about Abs, Log, Round, Sin, Cos, and Tan Function. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add two textboxes named txtNum for your inputted number and txtOut for the output.

Validate Leap Year in C# Console

Submitted by donbermoy on
Today in C#, i will teach you how to validate a year as leap year or not. Hence we already know that leap year has 366 days instead of the normal 365 days. Leap years occur every 4 years. And this fact is our formula in finding a leap year using the console application in C#. Now, let's start this tutorial! 1. Let's start with creating a Console Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Console Application. 2.

Extension File Converter in C#

Submitted by donbermoy on
This tutorial provides to make a program that can convert a file into any any file that is changing the extension filename of this file using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Applicationin C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2.

Remove all numbers in the TextBox using C#

Submitted by donbermoy on
Today in C#, we will make a program in which if we input a number or numbers in the textbox, it will remove or clear those numbers if we will click the remove button. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2.

How to Create an Image Converter in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will convert an image to its file extension in jpeg, bmp, png, and gif. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add one PictureBox named picbox, two buttons named btnBrowse and btnconvert, and one ComboBox named cbformats.