# Visual Basic Programming Code Examples

## Visual Basic > Windows and Controls Code Examples

### Show the 'System Settings Changed, Restart Computer' dialog

Matrix Multiplications Mutiply 2 Matrices -
Column number of first matrix must be same as the row number of second matrix. Initialize matrix. Print values of the passed matrix and mutiply two matrices and return the resultant

Illustrate Stack Operations using MACROS -
C Language Use #define function to define the macros. Define separate functions for the operations like push, pop, display etc. Use switch statement to access these functions.

Program Use Recursion to Search Element -
C Program code Uses Recursive function and searches for an element in an unsorted list & display it's position of occurrence. enters the element needed to be searched. Printing the

Checks Whether a Number is Prime or Not -
A 'positive integer' which is only divisible by 1 and itself is known as prime number. So 13 is a prime number because it is only divisible by 1 and 13 but, 15 is not prime number because

Calculate Sum Calculate Average of Array -
C Program calculates the sum & average of an array. It declares an array and then add the array elements and finds the average of the array. Find the sum of negative numbers and

Generate a Graph for Given Fixed Degree -
This algorithm generates a undirected graph for the given "Degree Sequence". It does not include self-edge and multiple edges. So this algorithm 'takes the input' of the number of

C Implement Priority Queue to Add Delete -
Add the elements into the queue according to the order (ascending descending). Delete the elements. Function to create an empty priority queue. Function to insert value into

Reversing Letters in Each Word of a String -
In C program, we are going to accept a string. Program will check for word inside string and if word founds then program will reverse that word. Similarly it'll Reverse out all the Words.