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 > API and Miscellaneous Code Examples

Launch a PC's default browser with ShellExecute API





Program to Check if a Binary Tree is a BST - Returns true if the given tree is a BST and its values are >= min & <= max. Allocates a new node with the data and "NULL" left and right pointers. The Given Binary Tree is a "BST" or

Program Code Copy String by While Loop - C program 'Copy one string to another' string using 'While loop'. Logic to copy one string to another string. Copy 'text1 to text2' character by character. Input a string from user, store it

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"

C++ Programming Print Table of Number - You have to ask to the user to enter a number and start "multiplying" that number from 1 to 10 and display the multiplication result at the time of multiplying on the screen which is the

Generate Random Partition out of a Given - Program 'takes the input' of a set of integers or characters. It firstly generates the random partition of the "Length of the Set". Starting from the beginning, it 'prints the number' of

C Example Code Nested Printf Statements - C Program code to demonstrate nested printf statements. String will be first printed while executing inner printf. Length of the string "abcdefghijklmnopqrstuvwxyz". So printf will

Reads Strings from a File in Reverse Order - Program code to find out how many strings there are. Read string length. Check buffer is large enough and increase if necessary. Now get the position for the beginning of each...

C++ Programming Encrypt & Decrypt File - To encrypt & decrypt file content in C++, you have to enter the file name with extension to encrypt & decrypt the content present inside the file. Now open that file using the function