[VB.NET2003] How to declare involatile varianbles

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • thomasc

    [VB.NET2003] How to declare involatile varianbles

    Hello,

    This is aboutVB.NET2003 .

    I am looking for a way to keep the values of some variables even if
    the program restarts or even the system is reboot. I heard that it
    might be possible to declare and have such variables at 'project
    settings' or 'My.Setting' namespace. But I haven't been able to find
    out how.

    Please let me know how I can have variables in my program that keeps
    its value through program restart and system reboot.

    Thanks much in advance!
  • Cor Ligthert[MVP]

    #2
    Re: [VB.NET2003] How to declare involatile varianbles

    Thomas,'

    The most simple one to use for making a small amount of data persistent for
    the current user is the registry.
    It is easy to handle in VB.Net2003 however there is so much written about
    it, that you can simple search for that on Internet.

    Cor

    Comment

    Working...