Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
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 4-Dec-12 3:47am
Comments
Orcun Iyigun at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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



Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100