# Visual Basic Programming Code Examples

## Visual Basic > Forms Code Examples

### Use of the ProgressBar Control

Read integers into an array and Reversing -
We have declared one pointer variable and one array. Address of first element of array is stored inside pointer variable. Accept Size of an Array. Now we have accepted element...

C Increment every Element of the Array by -
C Program increments every element of the array by one & print array. We need to add 1 to all the elemnts of the given array. After adding 1 to all the elements of an array print

C++ Programing Implement String in STL -
'Insert substring' in a string. 'Erase substring' from a string. 'Append substring' to a string. Replace the string with a substrng. Size of a string. Find substring in a string. Display the

C Programs Prints Prime Number Pyramid -
Printing Prime Number Pyramid. To Evaluate Number is Prime or not Consecutively divide that number from 2 to n/2. To find whether 17 is 'Prime or Not' divide that number from 2 to

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

Triangle given the lengths of its sides in C -
C Programming code gives all details of a Triangle given the lengths of its sides. Enter the lengths of the three sides of the triangle. S is the semiperimeter of the triangle. D is...

Programs Converts Octal to Hexadecimal -
To convert octal number to "hexadecimal" in C++, you have to ask to the user to enter the octal number to convert it into hexadecimal to print the equivalent value in hexadecimal

C Programming Codes Implement a Stack -
C Program to ask the user for the operation like push, pop, display, exit. Use the variable top to represent the top of the stack and then according to the option entered, access its...