Integer

Add/Remove Rows and Validating Cells DataGridView Control

Submitted by Thongkorn on
This project is an advanced VB.Net (2010) code but it is a base implementation in every project. I write all the code in the @Run Time. Because of the flexibility to control the program for work as we want. This will make users feel to “Friendly used”. It consists of locking the keyboard in each cell of the DataGridView. In case of an integer, it can only be numbered from 0 to 9. In case of a

Return Keyword

Submitted by GeePee on
Introduction: Welcome! This tutorial page will teach you about the "Return" keyword in Java. What is a 'keyword'? A keyword is a word which already has a set/pre-defined action within Java. For example; public is a keyword which allows other classes to access the public variable or function/method. So, what does the "Return" do? Return is used to send a value back from a method or function to the place where it was called. The type of value to return depends on the type of method the return keyword is encased in.

If, Else and Else If Statements

Submitted by GeePee on
Introduction: Hello. In this tutorial you will learn about the if, else and else if statements. When are these statements used? The if statement is used to check if certain conditions are true. For example, just like we would say in English, if the time of day is noon we should eat lunch, else we shouldn't. So, what is else if? Since the if statement is used to check if certain conditions are true and else is for the opposite, what else do we need? To be able to check multiple times if certain conditions are true, but not the same.

Variables

Submitted by GeePee on
Introduction: Hello! This tutorial will teach you about variables. What are variables? Variables are pieces of data which are used to store more data. Every variable has a type, a name and a value; if the variable does not have a value then its value is 'null' or 'nothing'. What types can variables be? There are a few different types of variable, the most common ones being: - String - Double - Int (Integer) - Long - Boolean A string is a piece of text containing letters, numbers and symbols.

Sum of All Odd Numbers in VB6

Submitted by donbermoy on
I already introduced a program that can calculate the sum of all even numbers in visual basic 6.0 and now we will create another but this time it will be an odd numbers summation. We will write a Visual Basic program that reads an integer value and displays the sum of all odd integers starting from 1 and input value, inclusive. It will display an error message if the input value is less than 1. Now, let's start this tutorial! 1.

Sum of All Even Numbers in VB6

Submitted by donbermoy on
In this article, we will create a program that can compute the sum of all even numbers using Visual Basic 6.0. We will write a Visual Basic program that reads an integer value and displays the sum of all even integers starting from 2 and input value, inclusive. It will display an error message if the input value is less than 2. Now, let's start this tutorial! 1.