Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


MEMORY GAME


MEMORY GAME

Author
Message
imkoala
imkoala
Forum God
Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)

Group: Forum Members
Posts: 2, Visits: 4
how can i show the pictures for 5 seconds then flip it back to show the back part of the card to continue on the game proper.

i managed to use 2 timers but the second timer did not run as I want.



here are the codes:

Private Sub Timer1_Timer()

Image1.Visible = True

Image2.Visible = True

Image3.Visible = True

Image4.Visible = True

Image5.Visible = True

Image6.Visible = True

End Sub



Private Sub Timer2_Timer()

Picture1.Visible = True

Picture2.Visible = True

Picture3.Visible = True

Picture4.Visible = True

Picture5.Visible = True

Picture6.Visible = True

Timer2.Enabled = once

End Sub



ANOTHER PROBLEM:

how can I make the two pictures stay if they matched then flip back if they don't?

by using tags? how?



PS



I'm using VB 6 just as our computer teacher asked us.

Please tell me what's wrong with what I did.



Help me please! BigGrin
Edited
1/30/2009 by imkoala
Keithuk
Keithuk
Forum God
Forum God (297K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Welcome to A1vbcode imkoala

A similar question as been asked before. Have a read card game help and have a look at my Iconcentration.zip. Wink

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

imkoala
imkoala
Forum God
Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)Forum God (824 reputation)

Group: Forum Members
Posts: 2, Visits: 4
thanks!
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search