# Visual Basic Programming Code Examples

## Visual Basic > Forms Code Examples

### Adding a horizontal scroll bar to a listbox

Program Implement the Vizing's Theorem -
The chromatic index of the simple graph can be either 'maxDegree' or maxDegree+1. The chromatic index is the maximum number of color needed for the 'edge coloring' of graph.

Find Maximum Minimum using Functions -
First give a meaningful name to our function. Say max() function is used to find maximum between two numbers. Second, we need to find maximum between two numbers. And

Reversing Position of all Digits of Number -
For example reverse of 849 is 948. This code is write using for loop, 'Modulus Operator', if condition statement. User enter any number. 'Receive integer' value from user. Then check

C++ Implement Gift Wrapping Algorithm -
Implement Gift Wrapping algorithm to find convex hull in "Two Dimensional Space". In computational geometry, the gift wrapping algorithm is an algorithm for computing the

Determine if a given Matrix is a Sparse or -
C Program determines the given matrix is a sparse matrix. Sparse matrix is a matrix with the majority of its elements equal to zero. Accept matrix and checks whether the given

Find Palindrome Number in C++ language -
We already known that if reverse of a number is equal to the same number, it is Palindrome number. Remember it: certain variables and a loop use to get the reverse of a number which

C Programming Nested If...Else Statement -
In programming if...else statement executes two different codes depending upon whether the test expression is true or false. Sometime a choice has to be made from more than two

Searchs Specified File Specified Character -
C programming language code to search specified file for specified character. See if correct number of command line arguments. Opening file for input and look for character.