Comparing Strings in Visual Basic .Net This is sample program in vb.net that compares the value of two strings. The user will enter value of string 1 and string 2 then selects an operator to test if it is equal…
Category: Visual Basic.Net
Visual Basic .Net Populate Textbox from MS Access Database
Visual Basic .Net Populate Textbox from MS Access Database This program is the continuation of the previous program which is to connect vb.net to ms access, this time the program will populate textbox control with database value.
Replace String in Visual Basic .Net
Replace String in Visual Basic .Net This is a vb.net program that allows you to find a text in a given string and replace it with a string or text that you want. The new string will be displayed in…
Grade Computation in Visual Basic .Net
Grade Computation in Visual Basic .Net Windows form application in vb.net that computes final grade and display the status if failed or passed. To compute the final grade: 30% of prelim grade + 30% of midterm grade and 40% of…
Visual Basic .Net Count Number of Characters in a String
Visual Basic .Net Count Number of Characters in a String .length property is used to count the number of characters in a string. This is a sample program in vb.net that allows the user to enter a text and count…
Select Case Statement in Visual Basic .Net
Select Case Statement in Visual Basic .Net The format of the Select Case control structure is show below: Select Case expression Case value1 Block of one or more VB statements Case value2 Block of one or more VB Statements Case…
Math Functions in Visual Basic .Net
Math Functions in Visual Basic .Net Math function included in this sample vb.net program are the following; pi, square root, and power of 2. The program will let you enter a number then the program will get its square root…
DataGridView Demo in Visual Basic .Net
DataGridView Demo in Visual Basic .Net The DataGridView control provides a powerful and flexible way to display data in a tabular format. You can use the DataGridView control to show read-only views of a small amount of data, or you…
Combo box Demo in Visual Basic .Net
Combo box Demo in Visual Basic .Net A combo box is a commonly used graphical user interface widget (or control). Traditionally, it is a combination of a drop-down list or list box and a single-line editable textbox, allowing the user…
Array Demo in Visual Basic .Net
Array Demo in Visual Basic .Net An array is a data structure, which can store a fixed-size collection of elements of the same data type. In this program we have declared programming as our variable that can handle multiple values.…