Help

daduke
01-22-2004, 12:05 PM
Im making a prog with a login form and I want people to be able to create accounts. Could someone help me start this? How would you store passwords using vb? I dont know how to use registry ..i was thinking note pad or something like that.

2pacalypse
01-22-2004, 12:06 PM
do you mean outputting the password to a text file?

daduke
01-22-2004, 12:23 PM
Yeah Like they will create a password and username and the program would look at a txt file for the username and password.

2pacalypse
01-22-2004, 12:44 PM
This creates a txt file that stores a password. Then do a loop that checks to see that if once the password inputted is equal to the one made then they can procede.

Dim intPlassword As Integer
Dim strPassword As String

strPassword = userpassword
intPlaylist = FreeFile

Open "C:\Password.txt" For Output As #intPassword
Print #intPlaylist, strPassword
Close #intPlaylist

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum