Results 1 to 3 of 3

Thread: need help on save and getting setting

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204

    Angry

    need help on save and getting setting ;;

    ok i got the code its like
    cboAddress.Text = GetSettings("lumawhole", "0", "1", 0)
    SaveSettings "lumawhole", "1", "0", cboAddress.Text


    tahst all i ahev fro the code nothing else whats wrong here?????
    WHat would we do with out Microsoft.
    A lot more.

  2. #2

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    this works...

    'set your values for true and false

    'in the true event( option button or whatever the user uses to
    'do whatever based on how it was last saved.
    'I use this to show or not show a nag screen
    'if the value is true I show the nag screen
    'if the user selected to not show it then it is false
    'and my app bypasses the nag screen
    'appname is LottoGenerator, nag screen is Splash, I check on startup of app


    SaveSetting appname:="LottoGenerator", _
    section:="Startup", _
    Key:="Splash", _
    setting:="True"

    '=============================================
    'in the false event
    SaveSetting appname:="LottoGenerator", _
    section:="Startup", _
    Key:="Splash", _
    setting:="False"

    '==============================================

    'in the load event

    If GetSetting(appname:="LottoGenerator", section:="Startup", _
    Key:="Splash") = "True" Then

    'your code...do whatever

    End If

    'if it's false then leave it alone...no code
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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