CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2001
    Location
    Vadodara, Gujarat, India
    Posts
    52

    Question Application Setting Problem

    Dear friends I have problem with My Application settings.

    I have 2 radio buttons; I bound it with application setting variables. It works fine when I started next time it start accordingly but when I next open a option form my value is not shown in radio buttons. Same problem with Checkbox control

    I want that when my chkSplit checkbox is checked my splitter position is saved and when I reopen application it splitter position set to that value, and if checkbox is not checked then position is not saved and it will set to old value.

    Click on Tools – Options menu item to open Option Form

    Kindly tell me what the problem is.

    My Application zip file is attached.
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2001
    Location
    Vadodara, Gujarat, India
    Posts
    52

    Re: Application Setting Problem

    Many masters are here still i am not getting anwser of my problem?

    Friends Kindly help.

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Application Setting Problem

    Step thru your code (start with F8, wait, and then press F8 again) to see how many times it's saving the data! It doesn't look like it's reading it all to begin with.

    When you load Form1, it doesn't read that setting. Is there a default value?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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

Featured