Hallo,
ich habe das hier in VB 6.0 geschrieben:
___________________________________________________________________
Option Explicit
Private Sub Form_Load()
MsgBox "Programm gestartet"
End Sub
Private Sub cmd1_Click()
If txt1 = "codeword" Then
MsgBox "Login correct"
Else
MsgBox "Login incorrect"
End If
End Sub
____________________________________________________________
In der Form gibt´s einmal eine Textbox (txt1) und eine CommandBox (cmd1)
Wo und wie muss ich die do-until-schleife einbauen, damit das Fenster "Login correct" zehnmal angezeigt wird?
ich habe das hier in VB 6.0 geschrieben:
___________________________________________________________________
Option Explicit
Private Sub Form_Load()
MsgBox "Programm gestartet"
End Sub
Private Sub cmd1_Click()
If txt1 = "codeword" Then
MsgBox "Login correct"
Else
MsgBox "Login incorrect"
End If
End Sub
____________________________________________________________
In der Form gibt´s einmal eine Textbox (txt1) und eine CommandBox (cmd1)
Wo und wie muss ich die do-until-schleife einbauen, damit das Fenster "Login correct" zehnmal angezeigt wird?