Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how can I make variables that be steady?
for example my software has an user name or a password when I changed it in my software after that I quit and come back software ask my new user name or password.
but know this I work with vb.net
TNX alot from all of u.
Posted
Comments
Orcun Iyigun 4-Dec-12 10:01am    
You mean you want them to be constant during the execution time of the software or you want the software to remember your username and password when you come back?

1 solution

There's no such thing as a "steady variable".

I think you're talking about persisting the variables values. You'd normally save these values to a file somewhere appropriate, such as an XML file or database table entry. Since you're talking about username and password, you'd better be encrypting this information before storing it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900