Results 1 to 3 of 3

Thread: Save settings

  1. #1

    Thread Starter
    Lively Member milen's Avatar
    Join Date
    May 2006
    Posts
    116

    Save settings

    hii guy's .
    Guy's i have a option of my app , when the user change the option i want
    to save it for a next use i know it is save setting's but i want a code please

  2. #2
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Save settings

    You must search forum if you know what you are looking for.

    Example by MartinLiss
    Show Appreciation. Rate Posts.

  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Save settings

    Here is a very quick sample:
    VB Code:
    1. Option Explicit
    2.  
    3. Private Sub Form_Load()
    4.     Check1.Value = GetSetting(App.EXEName, "Options", "Check1", vbUnchecked)
    5. End Sub
    6.  
    7. Private Sub Form_Unload(Cancel As Integer)
    8.     SaveSetting App.EXEName, "Options", "Check1", Check1.Value
    9. End Sub

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