im making a project in vb and i need it to save the picture box and im not to sure on how to use the flag statement so if someone could help me that would b awesome!
thanks a lot
User Profile
Collapse
-
help with flags and saving
-
i also have a question about the flag statement i was told that it would remember which button was pressed last so im using it to remember when they push a button but it isnt working do you have to dim the flag statement or something special to it or am i just doin something wrong? -
-
yes i am... and this part is pointless since i need 20 characters...Leave a comment:
-
saving my paint project in VB
the title pretty much says it all i am makin a paint project and i need to save the image and the rest of it but i have no clue what the code for that would be. im drawing on an image spot and i need to save that and the rest the stuff and be able to load it back up
thanks a lot -
hi im doing an independent study in VB and i used a book named "Microsoft visual basics Basics" it is a really good book for beginners and i leared the basics of VB and now im making a big project and some of the ppl in this thread r helping me with it. so you could find other information in book and on the internet like i amLeave a comment:
-
ok i understand that but i think my code is set up in a way where thats not working here is my code:
-------------------------------------------------
Dim drawing
Private Sub Command1_Click( )
Picture1.Cls
End Sub
Private Sub cmdclear_Click( )
Picture1.Cls
End Sub
Private Sub cmddots_Click()
flag = 1
End Sub
Private Sub cmdline_Click()...Leave a comment:
-
ya pretty much one button will let me click to make dots and the other one will let me draw lines.
thanks a lotLeave a comment:
-
ok i might not have been to clear thats my fault. or maybe i just dont understand... i dont know but i know how to get the program to draw dots and stuff with the mouse but i want to switch between clicking the mouse to put dots, to moving the mouse to draw a line, with the push of a button on the form and the push button event sub is different from the mouse down sub or move mouse sub and i dont think you can put both in the same sub. thats my problem....Leave a comment:
-
Drawing in VB
so im making a project in VB like MS paint. and i want to be able to switch between say push the mouse down to make a dot and draging the mouse to draw a line. and i can get the program to do both i understand that but i am not sure on how to get the program to switch between the two by the push of a button, so if someone could lend me a hand that would be great
thanks a lot -
try putting the code in the select all button to set the value on each check box to true so that they are all checked i think that might workLeave a comment:
-
help with moving objects with arrow keys
ok so im working on a project in my independent study in computer programming and i made a snake game what moves with the arrows i know the code to get it to move but it doesent, the arrow buttons just move a box around the buttons on the form and im not sure how to fix it so if someone knows that would be awesome thanks a lot
No activity results to display
Show More
Leave a comment: