Code: Module Module1 Class Employee Dim sal As Long Overridable Function Accept(ByVal bs As Integer, ByVal b As...
Read More
40 Overloading in VB.NET
Code: Module Module1 Class Add Dim C As Integer Function Sum(ByVal x As Integer, ByVal y As Integer) ...
Read More
39 Inheritance in VB.NET
Code: Module Module1 Class Faculty Public name As String Public age As Integer Sub accept() ...
Read More
38 Program using Recursive Function in VB.NET
Design: Code: Public Class Form1 Dim fact As Integer = 0 Dim num, f As Integer Function Factorial(ByVal num As In...
Read More
37 Program using Function in VB.NET
Code: import java.awt.*; import java.applet.*; /* <applet code="First" height=300 width=300> </applet> */ ...
Read More
36 Validation using Error Provider in VB.NET
Regular Expression: ^[789]\d{9}$ ^ #Match the beginning of the string [ 789 ] #Match a 7, 8 or 9 \d #Match a digit (0-9 and ...
Read More
35 Validation using Regex in VB.NET
Regular Expression: "\d+" : It will search for numbers in a given string. [abc] : Find any character between the brackets ...
Read More
34 Stopwatch using Timer in VB.NET
Design: Code: Public Class Form1 Dim s As Integer = 0 Dim m1 As Integer = 0 Dim m As Integer = 0 Private Su...
Read More
Subscribe to:
Posts (Atom)