keen Posted August 20, 2006 Share Posted August 20, 2006 (edited) Ok well i need help with my program. Its a personal files thing. I have a GUI setup for it but i need a login feature. I need to have a button on the loginpage that says make a new account and when you click it it asks you for a username and password and then it takes you back to the login page an you can login with the data you just entered. How can i do this. Edited August 20, 2006 by keen [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
Valuater Posted August 20, 2006 Share Posted August 20, 2006 1 Show us what you got so we can help 2 Read and find the info in the help file 3 goto "www.rentacoder.com" 8) Link to comment Share on other sites More sharing options...
keen Posted August 20, 2006 Author Share Posted August 20, 2006 Well all that i need is a code that will create new account and has a login features. And i read the help files [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
Valuater Posted August 20, 2006 Share Posted August 20, 2006 Well all that i need is a code that will create new account and has a login features.And i read the help filesthen you have two choices left8) Link to comment Share on other sites More sharing options...
keen Posted August 20, 2006 Author Share Posted August 20, 2006 I'm not renting a coder so here: #include <GUIConstants.au3> For $i = 1 To 3 ; Get the name $name = InputBox("Username", "Enter Your Username:", "") If $name <> 'USERNAME' Then ContinueLoop ; Get the password $password = InputBox("Password", "Enter Your password:", "", "*M") If $password = 'PASSWORD' Then ExitLoop Next If $i > 3 Then MsgBox(0, 'Invalid', 'You have entered and invalid username or password. Please reload the application and try again.") Exit 1 EndIf GUICreate("Personal Files",600,600) $tab=GUICtrlCreateTab (1, 70, 600, 190) $tab1=GUICtrlCreateTabitem ("Welcome") GUICtrlCreateLabel("Testing." & @CRLF & "More Testing " & @CRLF & ".", 20, 120, 375, 100) GUICtrlCreateTabitem ("") ; end tabitem definition GUISetState () ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Thats it. [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
CWorks Posted August 20, 2006 Share Posted August 20, 2006 I just created a password box hereto add to this and 2 posts down is the finished productnot exactly what you want but you can learn by example at least i can Link to comment Share on other sites More sharing options...
keen Posted August 20, 2006 Author Share Posted August 20, 2006 Not exactly but very close. can you make it ask for you username too and it doesnt have to lock the screen just po up a msg box would be fine. Thatnks! [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
CWorks Posted August 20, 2006 Share Posted August 20, 2006 (edited) get Koda and create your ownit's so simple it practically creates itselfit comes with the scite downloadhttp://www.autoitscript.com/autoit3/scite/downloads.phpor you can find it herehttp://www.autoitscript.com/fileman/users/lookfar/formdesign.htmlbesides i'm no ones bitch Edited August 20, 2006 by CWorks Link to comment Share on other sites More sharing options...
Valuater Posted August 20, 2006 Share Posted August 20, 2006 get Koda and create your ownit's so simple it practically creates itselfit comes with the scite downloadhttp://www.autoitscript.com/autoit3/scite/downloads.phpor you can find it herehttp://www.autoitscript.com/fileman/users/lookfar/formdesign.htmlbesides i'm no ones bitchi was going to say the same thing..... CWorksso, if you dont have SciTE editor you should get itthen pressTools > Koda(form designer)8) Link to comment Share on other sites More sharing options...
keen Posted August 21, 2006 Author Share Posted August 21, 2006 Ok thanks guys. [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now