Sign in to follow this  
Followers 0
keen

Login

10 posts in this topic

#1 ·  Posted (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 by keen

[center]Kesne's Bar & Grill[/center]

Share this post


Link to post
Share on other sites



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)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

Well all that i need is a code that will create new account and has a login features.

And i read the help files

then you have two choices left

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

I just created a password box here

to add to this and 2 posts down is the finished product

not exactly what you want but you can learn by example at least i can


Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

get Koda and create your own

it's so simple it practically creates itself

it comes with the scite download

http://www.autoitscript.com/autoit3/scite/downloads.php

or you can find it here

http://www.autoitscript.com/fileman/users/lookfar/formdesign.html

besides i'm no ones bitch

Edited by CWorks

Share this post


Link to post
Share on other sites

get Koda and create your own

it's so simple it practically creates itself

it comes with the scite download

http://www.autoitscript.com/autoit3/scite/downloads.php

or you can find it here

http://www.autoitscript.com/fileman/users/lookfar/formdesign.html

besides i'm no ones bitch

i was going to say the same thing..... CWorks

so, if you dont have SciTE editor you should get it

then press

Tools > Koda(form designer)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Ok thanks guys.


[center]Kesne's Bar & Grill[/center]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0