Click here to Skip to main content
11,484,162 members (69,010 online)
Rate this: bad
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
TNX alot from all of u.
Posted 4-Dec-12 4:47am
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
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.

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 185
1 Frankie-C 155
2 Raje_ 155
3 OriginalGriff 147
4 CPallini 110
0 Sergey Alexandrovich Kryukov 8,484
1 OriginalGriff 7,948
2 Sascha Lefèvre 3,189
3 Maciej Los 2,601
4 Richard Deeming 2,370

Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2015
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