|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I'm currinly learning VB in school first lvl of it. i want to know and learn this more then just in the class. (it makes tests easyer lol)
how do i creat say, a program that would let a user 'Register' a user name and password so next time they come back and use it, it would either display a message or alow them to enter the program? any help or information on this topic , i thank you lots ![]() Last edited by Nmixer : November 7th, 2004 at 02:55 PM. Reason: miss spell |
|
#2
|
|||
|
|||
|
How about using the "Registry"
(couldn't resist).You'll have to have some mechanism that identifies a returning user, similar to a cookie in a web browser. I'm not sure what you could use from a VB program to remember a user.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
The registry is a little too dificult for a beginner, it could be better to store user and password in a file (ie .ini with all configuration for the application), but it could be better to encrypt the user and password, a way to do it easily is just add a number (from 1 to 128) to each character so if somebody try to type it like that it wont work.
|
|
#4
|
|||
|
|||
|
Well i dind't mean it has to be user name and password. I'm just saying somthing. ummm lets say text, or somthing the user puts down, and it saves it in a file??
what things would i use to make it? .... thanks agian. |
|
#5
|
|||
|
|||
|
???
|
|
#6
|
|||
|
|||
|
Just save it in a file as I said before.
How to save a file? Open FILENAME for output as #1 print #1, VARIABLE1 print #1, VARIABLE2 Close #1 How to read It? Open FILENAME for input as #1 Input #1, VARIABLE1 Input #1, VARIABLE2 Close #1 |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Creating a save file??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|