# Visual Basic Programming Code Examples

## Visual Basic > Forms Code Examples

### Copying selected items in a listview to the clipboard

C++ Binary Addition & Binary Subtraction -
Addition, Subtraction, Multiplation, Result to decimal. Reverse second binary operand and Creating an array for addition. Addition of all columns without carry. Final calculations and

C++ Implement Gauss Jordan Elimination -
This method can also be used to find the rank of a matrix, to calculate the determinant of a matrix, to calculate the "inverse" of invertible square matrix. C++ Gauss Jordan Elimination

Multiple Initialization Inside For Loop in C -
1. It is initializing two variables. Note: both are separated by comma (,). 2. It has two test conditions joined together using AND (&&) logical operator. You cannot use multiple test

C Code Encryption and Decryption of files -
C language encrypting and decrypting files. So as to change enter file path. Enter password. Open a file to store decoded data. Until end of file to be encrypted read each...

Directed Graphs Contains a Eulerian Cycle -
If graph has no odd degree vertex, there is at least one Eulerian Circuit. And if graph as two vertices with odd degree, there is no Eulerian Circuit but at least one Eulerian Path. If graph

C Least Significant Bit (LSB) of a number is -
C program code input any number from user and check whether the Least Significant Bit (LSB) of the given number is set (1) or not (0). How to check whether the least significant...

Find the Length of Strings without strlen() -
We are Counting the Number of characters in a given String to find out & display its Length on console. Upon 'execution' of this program, the user would be asked to enter string, then

Convert Binary Number Octal Vice-Versa -
You will learn to convert "binary number" to octal, and octal number to binary manually by creating a "user-defined" function. In this, first convert the binary number to "decimal".