Code: Module Module1 Class Add Dim C As Integer Function Sum(ByVal x As Integer, ByVal y As Integer) ...
Read More
Showing posts with label Basic VB. Show all posts
Showing posts with label Basic VB. Show all posts
39 Inheritance in VB.NET
Code: Module Module1 Class Faculty Public name As String Public age As Integer Sub accept() ...
Read More
26 Program for student registration using Exception Handling in VB.net
Code : Module Module1 Dim name As String Dim rollno As Integer Dim per As Double Dim ch As Boolean Sub For...
Read More
25 Constructor and Destructor in VB.NET
Code: Module Module1 Public Class Test Public Sub New() Console.WriteLine(" Constructor ") ...
Read More
22 Program using Procedure to take 3 subject marks and find average in VB.NET.
Code: Module Module1 Public Class Student Public s1, s2, s3 As Integer Public avg, sum As Double Sub a...
Read More
10 Program to check whether Even or Odd in VB.NET
Code: Module Module1 Dim num, n As Integer Sub Main() Console.WriteLine("Enter any number: ") n...
Read More
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
1 VB.NET(Visual Basic Dot Net)
VB.Net is a simple, modern, object-oriented computer programming language developed by Microsoft to combine the power of .NET Framework an...
Read More
Subscribe to:
Posts (Atom)