Click here to Skip to main content
Sign Up to vote bad
good
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:47

Comments
Orcun Iyigun - 4 Dec '12 - 10:01
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.
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 296
1 Mohammed Hameed 183
2 Sergey Alexandrovich Kryukov 143
3 Santhosh G_ 108
4 Mayur_Panchal 98
0 Sergey Alexandrovich Kryukov 8,216
1 OriginalGriff 6,271
2 CPallini 3,528
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid