Tutorials

Count Number of Words using C#

Submitted by donbermoy on
This is a tutorial in which we will going to create a program that will count the number of words that we have inputted using C#. 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: Go to File, click New Project, and choose Windows Application and name your project as Word Count Program. 2.

Adding Watermark to Picture using C#

Submitted by donbermoy on
In this tutorial, we will create a program that adds a watermark to an image/picture using C#. We all know that watermark is a faint picture or mark made in some paper during manufacture, which is visible when held against the light and typically identifies the maker, it a special design contained in electronic documents, pictures, music etc that is used to stop people from copying them. Follow the following steps to create the program: 1.

Email Validation using C#

Submitted by donbermoy on
Today, I will teach you how to create a program that determines whether an inputted email is valid or not using C#. I have already a tutorial in this with vb.net but now I used C# here. So, 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: Go to File, click New Project, and choose Windows Application and name your program ValidateEmail. 2.

Get day, day of week, day of month, day of year, month, and year values from the current date using Java

Submitted by donbermoy on
In this tutorial, we will create a program that gets day, day of week, day of month, day of year, month, and year values from the current date using Java. I have already discussed how to get the date and time, but here in this program, we will breakdown and get the complete information on the current date. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of subString.java. 2.

Change Default Cursor to Hand Cursor in Java

Submitted by donbermoy on
In this tutorial, we will create a program that will change the default cursor into a hand cursor in java like the image below. hand cursor So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of jCursor.java. 2. Import java.io package. Hence the cursor class is in the input/output library.

How to Create a Reports using Crystal Report in Visual Basic.Net

Submitted by joken on
In this tutorial, I'm going to show how to create a report in Visual Basic using Crystal reports. As I know, some of programmers have a difficulty on how to add or create a report on their application, especially the those enthusiast individuals who are about to start their journey to become a better programmer. So I hope this tutorial of mine will be useful for your works.

How to Clear Multiple Textbox in a Smart Way using Visual Basic

Submitted by joken on
In this tutorial, I'm going to show how to create an application that will help you to save more time and number of lines of code just to clear your multiple textbox in a single form. This time, let's start building our application: Step 1. Create a new project in visual Basic 2008, then design the interface that looks like as shown below: c1

How to Check if a File is Hidden or Not using Java

Submitted by donbermoy on
In this tutorial, i will teach you how to create a program in java that will check if a file is hidden or not. So, now let's start this tutorial! 1. Open Notepad. It's up to you if you will write data in there or not. Save it to the same folder with your java program and named it as READ FIRST.txt. and make sure to hide this file. 2. Open JCreator or NetBeans and make a java program with a file name of hiddenFile.java. 3. Import java.io package. Hence the file class is in the input/output library.

JColorChooser Component in Java

Submitted by donbermoy on
Today, i will teach you how to create a program that has the JColorChooser component in Java. We have ColorDialog in VB.NET and C# and this is equivalent to the JColorChooser in Java. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of colorChooser.java. 2. Import java.awt.* and javax.swing.* packages because we will going to have the JColorChooser component in swing and also the JPanel as the container of this.