Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
alright i have this project
Private Sub Comman1_click()
Image1.visible = False 'Hide coins
Label1.caption = Int(Rnd *10) 'pick numbers
Label2.caption = Int(Rnd*10)
' if any caption is 7 display coin stack and beep
If (Label1.caption = 7) Or Label2.caption = 7) or Label3.caption = 7)then Image1.visible = True
Its a called a "Lucky Seven" thing where when you click on command 1 it picks random numbers in any of the three labels something like a lottery or something. now for my project it says i have to make all the labels added together = 7 but i tried putting that down Label1.Caption + Label 2.caption+ label 3.caption = 7 it doesnt work. But i think before i can get them added up, i have to somehow link or connect all the labels before i can make them add each other up. any help?
0 · ·