Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


Visual Basic Programming Code Examples

Visual Basic > Windows and Controls Code Examples

Obtaining the current user name





C++ Sample Calculate Power of a Number - Program takes two numbers (a 'base number' and an 'exponent') and Calculates the Power. The technique works only if the exponent is a positive integer. If you need to find the power

C++ Simple Program Multiple Inheritance - Declare the base class student. Declare and define the function "get()" to get the student details. Declare the other class sports. Then Declare and define the function "getsm()" to

C Codes Multiply 2 Numbers use Function - Create a user defined function product() that multiplies the numbers that we are passing to it during function call. This c function returns the product of these numbers. To understand

Display message by format with the printf - The number of characters actually printed. A negative value indicates failure. Hexadecimal output in the form. Signed decimal integers. Scientific notation. Decimal floating point.

Swapping numbers Function Call by Value - Before we discuss function call by value, lets understand the terminologies that we'll use while explaining this: Actual parameters: The parameters that appear in function calls and

Print Strong Numbers between an interval - First give a meaningful name to our function, say "printStrongNumbers()". Along with this we must define function to find factorial of a number, say long long fact(int x);. Next we...

Check Whether Two Strings are Anagrams - Program takes two strings as input & checks whether two strings are anagrams. Take two strings as input and store them in the arrays array1[] array2[] respectively. In the function

C Armstrong numbers between an interval - Declare function to print Armstrong numbers in given range. Lets give a meaningful name to function. Say "printArmstrong()" function prints all Armstrong numbers in given range.