# Visual Basic Programming Code Examples

## Visual Basic > Forms Code Examples

### How to hide, show, minimize MDI child forms.

Using Insertion Sort Technique in The C++ -
To sort an array using insertion sort, enter the array size and then array elements in random order. Start Sorting the Elements of the array in Ascending Order using insertion sort as like

C++ Implements Sorted Circularly Doubly -
Here is the source code of the C++ program to "display the values" present in the nodes cyclically. C++ language sample displays the nodes of a "Doubly Linked List" with the last

C++ Class Program to Find Prime Number -
A 'prime number' is a natural number greater than 1 that has no positive divisors other than 1 and itself. The C++ Programming Language allows you to separate program-specific data

Creating a Function Checks Prime Number -
Function returns true if the number passed to the function is a 'prime number', returns false if the number passed is not a 'prime number'. The appropriate message is printed from the

C++ An Object can be Passed to Functions -
An object can be passed to a function just like we pass structure to a function. Here in class A we have a "function disp()" in which we are passing the object of class A. Similarly we can

Volumes & Areas of geometric shapes in c -
C program coding to calculate area, volume, perimeter of a particular geometric shape. Square, rectangle, circle, triangle, rhombus, parallelogram, trapezium, quadrilateral,...

Compare two Strings in the C++ language -
Function will return 0, if the strings are equal; return 'negative value', if "string1 is less" than string2 and return "positive value" if string1 is greater than string2. This function 'compares'

Prime Numbers in a Range with Functions -
Declare function to find all prime numbers in given range. First give a meaningful name to our function. Say printPrimes() function will print all prime numbers in a range. Declare...