Argument trop nombreux pour public sub show
Jacki
-
Polux31 Messages postés 6917 Date d'inscription Statut Membre Dernière intervention -
Polux31 Messages postés 6917 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Débutant en vb.net solicite votre aide. Merci
mon code est:
If afficher.Text = f Then
var.Show("your gender is", f)
la ligne d'erreur est:
argument trop nombreux pour public sub show
Débutant en vb.net solicite votre aide. Merci
mon code est:
If afficher.Text = f Then
var.Show("your gender is", f)
la ligne d'erreur est:
argument trop nombreux pour public sub show
A voir également:
- Argument trop nombreux pour public sub show
- Usb show - Télécharger - Sauvegarde
- Show key plus - Télécharger - Utilitaires
- Ip public - Guide
- Python est introuvable. exúcutez sans argument pour procúder ó l ✓ - Forum Python
- Proximus public wifi password free - Forum Bbox Bouygues
4 réponses
Bonjour,
Effectivement ya trop d'argument pour la fonction show().
Essais plutôt If afficher.Text = f Then
var.Show("your gender is f")
Effectivement ya trop d'argument pour la fonction show().
Essais plutôt If afficher.Text = f Then
var.Show("your gender is f")
mais f doit etre affiché en tant que variable.
dim f as string = female
dim m as string = male
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If afficher.Text = "f" Then
label1.show = ("your gender is " f)
End If
If afficher.Text = "m" Then
label1.show = ("your gender is " m)
End If
End Sub
dim m as string = male
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If afficher.Text = "f" Then
label1.show = ("your gender is " f)
End If
If afficher.Text = "m" Then
label1.show = ("your gender is " m)
End If
End Sub