Creating a Drawing Pad using Visual Basic 6

We can create a simple virtual drawing pad using Visual Basic 6 .In this program, the user just needs to fill in coordinates of the starting point and the ending point and chooses a color in order to draw the required shape. If he or she forgets to fill in the coordinates or chooses a color, he or she will be prompted to do so.

To create the drawing pad, you need to insert a common dialog control, a picture box, four text boxes , six command buttons and the necessary labels. The function of the common dialog control is to assist the users to choose colors. The text boxes are for the user to enter the coordinates and the picture box is to display the pictures drawn.

Read More