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 > Forms Code Examples

Adding a horizontal scroll bar to a listbox





Check Palindrome number using recursion - Recursive function in C to Check Palindrome number. Declare recursive function to check palindrome. First give a meaningful name to our function, say isPalindrome(). Along with

Use of typedef in Structure in C Language - Typedef makes the code short and improves readability. In the above discussion we have seen that while using structs every time we have to use the lengthy syntax, which makes

Find Maximum Minimum using Functions - First give a meaningful name to our function. Say max() function is used to find maximum between two numbers. Second, we need to find maximum between two numbers. And

Prints Day Name of Week Array Constant - Input week day number from user. Store it in a variable say week. Print Monday if week=1. I have assumed Monday as first day of week. And check condition for all 7 days & print the

C++ Searching Using Self-Organizing Lists - "Self-Organizing" List updates on the basis of 'last searched item'. The sequential searching approach is used. In general search, 80% time only specific 20% of data is accessed. Sample

Code Parse the Command Line Arguments - C program is an example of how to parse the command line arguments. It sets up all the global variables for a real program and it just doesn't have any body. Loop for each option.

Program Code Find Area of Parallelogram - C program to find area of Parallelogram. This C code Calculates the 'Area of Parallelogram'. The formula used in this c program are Area = b*a where b is the length of any base, a is the

C Language Codes Calculate Profit or Loss - C Program coding input cost price and selling price of a product & check profit or loss. Logic to find profit or loss. In primary mathematics classes, you all have learned about profit and