473,396 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Saving and Loading Variables for Username and passwords

Hi, i am trying to create a program that needs to be logged into before you can access the functions. The user currently has to enter a username and password.
However, if they would like change their username and password; i've tried using variables to store the details but am unaware of how to save and load the variables - if they are not saved and loaded they will reset to blank when the program is turned off then on on.
The variables are Called Uname for the username and Pword for the password and are both strings.
I am using Windows XP on a desktop computer.
Microsoft Development Envirnoment 2003 version 7.1.3088
Microsoft Visual Basis .Net.
Mar 13 '07 #1
3 983
shweta123
692 Expert 512MB
Hi,

You can store the UserName and Password in a textFile when for the first time user enters it or changes it next time.Everytime the application is started they are checked against the textFile.
Mar 13 '07 #2
or if you have a data base you can use the data base and SQL queries
Mar 13 '07 #3
Thanks for the help i am currently working on a database project so i will do it that way
Mar 15 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Domestos | last post by:
Hi all, Okay after reading some text on PHP i have come across my first query... What is the best method in using and accessing varibales... my book gives me three methods but gives pro's and...
4
by: Lobang Trader | last post by:
Hi all, I am trying to create a username and a password class. I would like to know what are the RECOMMENDED minimum and maximum length for both fields? These fields will be something like...
1
by: Vani | last post by:
Hi All, Is it possible to save a file on a network folder from a web application which is developed in ASP.Net. I tried mapping a network folder on the server and tried to save a file on that...
10
by: JoeC | last post by:
I am writing a game and all my game pieces are stored in a single vector of piece handles. I have the basics I can read and write char and number files but I am trying to do comthing more...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.