Sum

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.

Finding Sum of the Date plus Number of Days in VB.NET

Submitted by donbermoy on
A few weeks ago, I had introduced how to find the Date Difference between the two Dates in VB.NET. Now, In this article, i will introduce another some twist of the Date Function in VB.NET, in which it will find the sum of the date and the number of days that you are going to add. So, 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.