# Visual Basic Programming Code Examples

## Visual Basic > Database SQL Stuff Code Examples

### Updating a database using a disconnected recordset

Converts Octal Number to Binary Number - The octal number is converted to decimal at first. Then, the decimal number is converted to binary number. The octal number entered is passed to convertOctalToBinary() function.

Program Code find First Digit of a number - Finding the first digit of any number is little expensive than last digit. To find first digit of a number we divide the given number by 10 until number is greater than 10. At the end...

Program Sort text data by soundex value - Insert line in the Linked List. Create a new node. Save data into new node. First, we handle the case where 'data' should be the first element. Get soundex code for a string.

C++ Two-Dimension Transformations In - This C++ Program code example deals with all two-d transformation such as translation, 'scaling', 'rotation', 'reflection', 'shearing' in homogeneous coordinates. Transformation

C++ Programming Bubble Sort Algorithm - The Bubble Sort is a simple sorting algorithm that 'repeatedly' steps through the List to be sorted, compares each pair of adjacent items and swaps them if they're in the wrong order.

Implementing Hash Table Chaining Binary - Adding element to a node and check if node contains element. 'Adding string' in the table. Check if table contains string. Enter String to be inserted. Display table chained with binary

Program Code to Selection Sort Algorithm - The 'smallest element' is exchanged with the first element of the unsorted list of elements. The "second smallest element" is Exchanged with the 'second element' of the unsorted list

C Find the Length of a String by Recursion - Program to find the length of the string using recursion. C Program uses recursive function & counts the number of nodes in a linked list. A Linked List is ordered set of data elements,