Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Help


Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2004, 12:05 PM
daduke daduke is offline
Regular
 
Join Date: Nov 2003
Posts: 69
Default Help


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.
Reply With Quote
  #2  
Old 01-22-2004, 12:06 PM
2pacalypse 2pacalypse is offline
Newcomer
 
Join Date: Jan 2004
Posts: 20
Default

do you mean outputting the password to a text file?
Reply With Quote
  #3  
Old 01-22-2004, 12:23 PM
daduke daduke is offline
Regular
 
Join Date: Nov 2003
Posts: 69
Default

Yeah Like they will create a password and username and the program would look at a txt file for the username and password.
Reply With Quote
  #4  
Old 01-22-2004, 12:44 PM
2pacalypse 2pacalypse is offline
Newcomer
 
Join Date: Jan 2004
Posts: 20
Default

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->