Showing posts with label Basic VB. Show all posts
Showing posts with label Basic VB. Show all posts

8 Program on total number of vowels and consonants in VB.NET

Code: Module Module1     Dim a As Char     Dim b, v, c As Integer     Sub Main()         v = 0         c = 0         For b = 65 ...
Read More

6 Program in Visual Basic on Console Based Calculator Using Select Case Statement.

Code: Module Module1     Dim a, num1, num2, result As Integer     Dim b As Boolean     Sub Main()         Console.WriteLine()   ...
Read More

7 Program on Greatest of three number in VB.NET using If-Else

Code: Module Module1     Sub Main()         Dim num1, num2, num3, max, sum As Integer         Console.WriteLine("Enter any 3 Nu...
Read More

5 Arithmetic Operator in VB.net

Code:  In this we are adding two numbers as per the input given in two textbox. Public Class Form1     Dim Number1 As Integer     Dim...
Read More

4 If Else in VB.Net

Syntax: If <Condition> Then    Statements Else If <Condition> Then     Statements Else   Statements End If Code:  ...
Read More

3 Declare Variable in VB.NET

To Declare Variable in VB.NET  :  We require a keyword called as " Dim ". Dim: It declare and allocates storage space for one o...
Read More

2 VB.NET On Click Button Show Message

To show message on screen on click button: We require one button and a method Message.show Code: Public Class Form1     Private Su...
Read More