# Visual Basic Programming Code Examples

## Visual Basic > Applications VBA Code Examples

### VB Application (Connection at 1st Startup)

Converts Octal Number to Binary Number -
In this c program code we have created a user defined function octalToBinary(). Function converts the octal number (entered by user) to decimal number first and then converts...

C Program to Illustrate Pass by Reference -
C code to illustrate pass by reference. Pass the addresses of the variables as parameters to the function. In function definition receive the parameters through pointers. Print the...

Write the Number as the Sum of Numbers -
Algorithm "Counts the partition" of the given number. There is no straight method to count a total number of the partition so we need to 'Generate and Count' them. Time complexity

Coordinate Point in XY Coordinate System -
C Program to read a coordinate point in a XY coordinate system & determine its quadrant. The program accepts X and Y. Depending on the Value of X & Y we need to Determine on

C++ Code Finds Greatest Common Divisor -
This means a 'greatest number' which divides both numbers. Example: Two numbers are 18 and 24. Numbers which Divides both are 1, 2, 3 and 6 in which greatest number is 6. So 6 is

Function Call by Reference Swap numbers -
Here we are swapping the numbers using call by reference. As you can see the values of the variables have been changed after calling the swapnum() function because swap happened

C++ Break Keyword is used to Stop Loops -
The 'C++ program' tries to count alphabetical letters from d to n, but a break makes it stop when it encounters k: In a for statement, the 'break' can stop the counting when particular

Reverse Counting program in C Language -
C Program reverse counting is sequence of whole numbers in descending order without zero. Developing a program of counting in C programming language is easy and we shall