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

Preventing a form from being moved

C++ An Object can be Passed to Functions - An object can be passed to a function just like we pass structure to a function. Here in class A we have a "function disp()" in which we are passing the object of class A. Similarly we can

C Convert Binary to Hexadecimal Number - C Program to input binary number from user and convert to hexadecimal number system. Binary Number System is a base 2 number system. Binary number system use only two

Program Remove given Word from String - This program takes string and its substring as input, removes the Substring from the string. Take a string, its substring as input and Store it in the array str[] & key[] respectively. Store

Find the First Capital Letter in String using - C program using Recursion and finds the first 'capital letter' that exists in a string. We have included 'ctype.h' in order to make use of "int isupper(char); " function that's defined inside

Check Whether a Directed Graph Contains - If graph has no "Odd Degree Vertex", there is at least one "Eulerian Circuit". If graph as two vertices with odd degree, there is no Eulerian Circuit but at least one Eulerian Path. If graph

Create a File, Write content, Read content - C Programming language code to creating a file, writing content, reading the content. Open myfile.txt for output and write a string to disk. Open myfile.txt for input and read

C++ Language Break Continue Statement - We can use "break" statement inside loops to terminate a 'loop & exit' it. In above example loop execution 'continues' until either n>=20 or entered score is negative. This statement

Check a Number can be Expressed as Sum - Program to check whether a number can be expressed as sum of two prime numbers. To accomplish this task, "checkPrime()" function is created. The "checkPrime()" returns 1 if the