Click here to Skip to main content
12,884,951 members (30,482 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB 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 3:47am
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

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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2017
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