Results 1 to 3 of 3

Thread: [RESOLVED] Save settings after exit and reboot

  1. #1

    Thread Starter
    Hyperactive Member kxcntry99's Avatar
    Join Date
    Jun 2006
    Location
    Pennsylvania
    Posts
    342

    Resolved [RESOLVED] Save settings after exit and reboot

    Everyone,

    I know it is possible to save preferences settings so that even if you shut down and restart your computer the preferences are saved. If I want to save the value of a variable so that when the computer is shut down and restarted i could retreive the variable, how could I do this.

    I have looked through some threads and it looks like I can write the variables and values to a text file within the program directory but what would the code look like to export and then import the values?

    I know this is most likely a very simple thing to do but I just can't seem to get it.

    Thanks for your help

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Save settings after exit and reboot

    This subject has been covered many, many times. Do a search you will find them.

  3. #3
    Lively Member
    Join Date
    Jun 2006
    Location
    City of Angles. Right Angles.
    Posts
    110

    Re: Save settings after exit and reboot

    You can use the registry. Look at the SaveSetting and GetSetting methods of VB.

    example

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width