 Visual Basic Programming Code Examples

Visual Basic > Forms Code Examples

Limiting the number of lines a MultiLine TextBox can hold

C Programming Language Mode Program - C In Statistics Maths, a mode is a value that occurs the highest numbers of time. Example assume a set of values 8, 5, 4, 7, 8. mode of this value set is 8 as it appears more than any

C Search Occurrence of Character in String - Searching whether character is present in the string or not. Accept the String from the user. Accept the character to be searched. String is stored as array of character, "scan each array"

Convert Binary to Hexadecimal in the C++ - To convert binary to hexadecimal in C++, you have to ask to the user to "enter any number" in binary to convert it into hexadecimal, then display the equivalent hexadecimal value on

C Language Interview Questions example - For floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value represented

C Program Computes Factorial of number - The Factorial of a Positive Number n is given by: factorial of n (n!) = 1*2*3*4...n. Factorial of a negative number doesn't exist. And, the factorial of 0 is 1, 0! = 1. The program takes a

C++ Language Implementation For Queue - Return the least recently inserted item in the queue or throw "Underflow" if empty. Return and remove the least "recently inserted" item from the queue. "Throw Underflow" if empty.

C Perform Matrix Multiplication Recursion - C program, 'using recursion', performs Matrix multiplication of 2 'matrices' and displays the result. We use 2 D array to represent a matrix & resulting matrix is stored in different matrix

C Programming to Multiply Two Matrices - C Code to Multiply Two Matrices. How many rows in the first matrix? How many cols in the first matrix? How many rows in the second matrix? How many cols in the second matrix?