Visual Basic Programming Code Examples
Visual Basic > Windows and Controls Code Examples
Make the toolbar flat like in Office etc
Use the Break Statement in C++ language -
It's used in switch case control structure after the case blocks. Generally all cases in switch case are followed by a "Break Statement" to avoid the subsequent cases (see the example
Displaying the Inventory of Items in Store -
C Program display the inventory of items in a store. accepts the value of item name, item code, price, quantity & manufacture date. Then display those value in a structured way.
C Programming Comparing Three Integers -
Compare three integer variables is one of the simplest c program you can write at ease. In this program, you can either take input from user using scanf() function or statically define
Access Elements of an Array Using Pointer -
Program Declares the array of five element & the elements of that array are accessed using pointer. The five elements are entered by the user and stored in the integer array data. And
C Number of Days in a Month Switch Case -
Find number of Days in a Month using switch case - best approach. Lets Observe the above program carefully for a moment. In the above program we are performing same action on...
Swapping Two Numbers Without Variable -
Imagine we have two number 1 and 2 stored in x and j respectively now. If we add x and j (1 + 2) and store it to x then x will become 3 and j is still 2. We subtract j (2) from new value of
Add Two Matrix Using Multi-Dimensional -
In this program, user is asked to entered the number of rows r & columns c. The value of r & c should be less than 100 in this program. Then, the program adds these two matrices,
Code Count number of digits in an integer -
C language program to input a number from user and count number of digits in the given integer using loop. First logic is the easiest and is the common to think. It uses loop to