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…
Tag: vb.net programming
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.…
DTPicker Control in Visual Basic .Net
DTPicker Control in Visual Basic .Net The DateTimePicker control enables you to provide a formatted date field that allows easy date selection. In addition, users can select a date from a dropdown calendar interface similar to the MonthView control. This…
Generate Random Number in Visual Basic .Net
Generate Random Number in Visual Basic .Net This is a simple program in vb.net that will generate a random number using the Randomize function. The program will require you to enter a minimum and maximum number, based on that the…
Display Computer Information in Visual Basic.Net
Display Computer Information in Visual Basic.Net Example program in vb.net that will retrieve the computers information such as computer name, os installed on the unit and ram. The sample source code is written in windows form and console based.