Hello guys could you help me in some way to change the settings froms the inputbox? Or better say how can i make to not exit when it's pressed on cancel ? and stay there until the user enters the password.
I want to try with the inputbox and not with the guictrlcreateinput. So is there a way for that ?
$destination = "eroare.jpg"
SplashImageOn("Splash Screen", $destination,1200,860,-1,-1,-2)
$passwd = InputBox("Enter password", "Enter the password.", "", " *",-1,-1,500,500,-1,0)
mircea,
Try something like this:
$destination = "eroare.jpg"
SplashImageOn("Splash Screen", $destination, 1200, 860, -1, -1, 3)
While 1
$passwd = InputBox("Enter password", "Enter the password.", "", "*")
If $passwd = "1" Then
ExitLoop
ElseIf @Error = 1 Then
If MsgBox(4, "Cancel", "Are you sure?") = 6 Then Exit
Else
MsgBox(0, "Error", "Incorrect Password")
EndIf
WEnd
SplashOff()
MsgBox(0, "Success", "You entered the correct password!")
All clear?
M23
Edit: Trop le