begin process at 2012 02 16 20:58:51
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

Jeux

 > JEU EN VBA AVEC USERFORM ET BOUTON

JEU EN VBA AVEC USERFORM ET BOUTON


 Information sur la source

Note :
Aucune note
Catégorie :Jeux Niveau :Débutant Date de création :15/08/2004 Vu / téléchargé :10 246 / 878

Auteur : bdaboah

Ecrire un message privé
Site perso
Commentaire sur cette source (0)
Ajouter un commentaire et/ou une note

 Description

Cliquez pour voir la capture en taille normale
Ce jeu n'est pas fait pour divertir mais pour aborder doucement les Userforms.

Source

  • Private Sub bouton_Click()
  • c = MsgBox("Bravo", vbInformation, "Le jeu de Coco")
  • userform1.Hide
  • End Sub
  • Private Sub bouton_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
  • a = Int(200 * Rnd) + 1
  • b = Int(200 * Rnd) + 1
  • bouton.Left = a
  • bouton.Top = b
  • End Sub
  • Private Sub CommandButton1_Click()
  • c = MsgBox("Pssss vraiment trop nul", vbInformation, "Le jeu de Coco")
  • c = MsgBox("Allez faire un tour sur ce site : http://nico-le-coco.fr.st", vbInformation, "Le jeu de Coco")
  • userform1.Hide
  • End Sub
  • Private Sub CommandButton1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
  • c = MsgBox("Tu as triché, donc tu as perdu !", vbInformation, "Le jeu de Coco")
  • bouton.Visible = False
  • CommandButton1.Top = 70
  • CommandButton1.Left = 140
  • CommandButton1.Height = 200
  • CommandButton1.Width = 200
  • End Sub
Private Sub bouton_Click()
c = MsgBox("Bravo", vbInformation, "Le jeu de Coco")
userform1.Hide
End Sub


Private Sub bouton_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
a = Int(200 * Rnd) + 1
b = Int(200 * Rnd) + 1
bouton.Left = a
bouton.Top = b
End Sub

Private Sub CommandButton1_Click()
c = MsgBox("Pssss vraiment trop nul", vbInformation, "Le jeu de Coco")
c = MsgBox("Allez faire un tour sur ce site : http://nico-le-coco.fr.st", vbInformation, "Le jeu de Coco")
userform1.Hide
End Sub

Private Sub CommandButton1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
c = MsgBox("Tu as triché, donc tu as perdu !", vbInformation, "Le jeu de Coco")
bouton.Visible = False
CommandButton1.Top = 70
CommandButton1.Left = 140
CommandButton1.Height = 200
CommandButton1.Width = 200
End Sub


 Fichier Zip

Les Membres Club peuvent télécharger directement un fichier contenu dans le zip sans télécharger le zip en entier !
  • JEU COCO.xlsTélécharger ce fichier [Réservé aux membres club]33 792 octets

Télécharger le zip


 Sources de la même categorie

Source avec Zip Source avec une capture Source .NET (Dotnet) JEU DE MÉMOIRE CLASSIQUE par raffika
Source avec Zip Source avec une capture Source .NET (Dotnet) DES CHIFFRES ET DES LETTRES par ShayW
Source avec Zip Source avec une capture FAIRE REBONDIR PLUSIEURS BALLES par pierreh51
Source avec Zip Source .NET (Dotnet) JE DES BRIQUES MOUVANTES par alpha5
Source avec Zip Source avec une capture TOWER BATTLE 2 par Softmama

Commentaires et avis

Aucun commentaire pour le moment.

 Ajouter un commentaire




Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Février 2012
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
272829    

Consulter la suite du CalendriCode

Photothèque

 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,671 sec (3)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales