How do wemake adrawingapp with openand save.Please i been trying to do this sience i started to vb6 .1yr is still done.Please.
Printable View
How do wemake adrawingapp with openand save.Please i been trying to do this sience i started to vb6 .1yr is still done.Please.
Well if you want a simply follow the mouse type of drawing program then you can do this:
Create a PictureBox.
In the form's declarations put:
In the Pictureboxes mousedown put:Code:Private pof as Boolean
In the Pictureboxes mouseup put:Code:pof = True
In the Pictureboxes mousemove put:Code:pof = False
That's it! It hasn't been tested but should work.Code:Static mx, my
If pof = true then Picture1.Line (mx,my)-(x,y)
mx = x
my = y
Good luck,