Tutorials

Even or Odd in Visual Basic

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create a simple tool in Visual Basic to check whether the entered number is even or odd. Design: For this program, we need a couple of components; Button, button1, Begin the checking process. NumericUpDown, numericUpDown1, Hold the number value. Button Click: Once the button is clicked, we first want to create a new integer variable and set it equal to the value of the numericupdown control...

Copy/Paste a Text using C#

Submitted by donbermoy on
In this tutorial, we will create a program that has a copy and paste functions of using the ClipBoard class of 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. 2. Next, insert two Buttons for the Copy and Paste Functions named btnCopy labeled it as "Copy", and btnPaste labeled it as "Paste".

How to Check if an Inputted Year is a Leap Year using Java GUI

Submitted by donbermoy on
In this tutorial, i will teach you how to check if an inputted 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 Java GUI. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of leapYear.java. 2. Import javax.swing package. Hence we will use a GUI (Graphical User Interface) here like the inputting the year.

Search and Retrieve a Record from Access Database and VB.NET

Submitted by donbermoy on
In this tutorial, i will teach you on how to create a program that can search and retrieve a record from an access database and vb.net. Now, let's start this tutorial! 1. Create an access file with the table, entities, and record below. Name your access database as sample.mdb (2003 format). access access 2.

How to Download File in a Website using VB.NET

Submitted by donbermoy on
Today, i will teach you how to create a program that can download file in a website using vb.net. This is one of my tutorials here for FTP program in VB.NET. 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: Go to File, click New Project, and choose Windows Application. 2. Next, add only one Button named Button1 and labeled it as "Download".

Image Slider in Visual Basic

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create an image slider in Visual Basic. Design: For this project, our design requires; Button, button1, To go to previous image. Button, button2, To go to next image. Picturebox, picturebox1, To hold the current image. Note; You will most probably want to set the appropriate properties for the picturebox, otherwise some images will look larger than others. Loading: On form load, we want to get all the images in the default directory.

How to Create a Log File in Java

Submitted by donbermoy on
Today, I will teach you how to create a log file in java. We all know that a file is a list actions that occurred in which a program records events, such as user access or data manipulation as they occur to serve as an audit trail or warning message. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of logFile.java. 2. Import java.io package. Hence we will use an input/output in creating files and for the IOException class.

How to Login User Accounts from Microsoft Access Database using C#

Submitted by joken on
This tutorial is a continuation of our last topic called “Searching a Record From Database using C#”. But this time,we will be focusing on how to create an application that will allow the user to create a login system where the user accounts stored in the database.And now we will be using the Microsoft database we created from our last tutorial and we’re going to create a new project called “userlogin”.

How to Write an Entry to the Application Event Logs in Visual Basic 2008

Submitted by janobe on
In this tutorial, I will teach you how to Write an Entry to the Application Event Logs by using Visual Basic 2008. Logs are very important because it will track every event that are happening in your application. So, let’s begin: 1. Open Visual Basic 2008. 2. Create a new Windows Application. 3. Make the Form just like this. First Form Event Logs Now, go to the code view. Create a variable that will set the entry type of the event log.