# Visual Basic Programming Code Examples

## Visual Basic > Forms Code Examples

### How to hide and show a specific window or icon.

Find Angles of triangle if two angles given -
C Program to input two angles from user and find third angle of the triangle. How to find all angles of a triangle if two angles are given by user using C programming. Sum of angles of

Representation of Graph by Incidence List -
This algorithm takes the input of the number of 'vertex and edges'. Then it takes the input of connected vertex pairs. Print the incidence list representation of the graph. And for each

C Convert Binary to Hexadecimal Number -
C Program to input binary number from user and convert to hexadecimal number system. Binary Number System is a base 2 number system. Binary number system use only two

String Functions strcmp Compares Strings -
C function 'compares' the two strings, returns an integer value. If both the strings are 'same' then this function would return 0 otherwise it may return a negative or positive value based

Insertion Sort Algorithm in C++ Language -
Insertion sort is simple sorting algorithm that builds the final sorted array ('or list') one item at a time. It is much less efficient on large lists than more advanced algorithms such as quick

Code Parse the Command Line Arguments -
C program is an example of how to parse the command line arguments. It sets up all the global variables for a real program and it just doesn't have any body. Loop for each option.

Checking the Number is a Perfect Number -
Program input a number and check whether the number is Perfect number or not. Perfect number is a positive integer which is equal to the sum of its proper positive divisors. So 6 is

Replace all Occurrences of a Character in a -
Write a C program to 'Replace all Occurrence' of a character with another in a string using a Function. 'Input a string' from user, store it in some variable say str. Input old character and