talkingcommunities's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Contributors
Active Posts:
1 (0.01 per day)
Joined:
26-January 18
Profile Views:
389
Last Active:
User is offline Jan 29 2018 08:35 AM
Currently:
Offline

Previous Fields

Dream Kudos:
50
Icon   talkingcommunities has not set their status

Awards I've Earned

This user hasn't been given any awards yet.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

talkingcommunities hasn't added any friends yet.

Comments

Page 1 of 1
  1. Photo

    modi123_1 Icon

    27 Jan 2018 - 11:12
    Gotcha. Wasn't overly clear what was going on.
  2. Photo

    talkingcommunities Icon

    27 Jan 2018 - 10:32
    The routines do not create any controls. The routines save the data of the controls that exist. If I now add Texbox1 to the form and the user types "hello" into the textbox, then closes the app, runs it again "Hello" will remain typed in the textbox.
  3. Photo

    talkingcommunities Icon

    27 Jan 2018 - 10:31
    They ARE on the form. It is the user entry info that is saved. Example:
    User runs form and clicks Checkbox1" checkbox on form.
    User closes form. User opens form and Checkbox1 is unchecked.
    (because info is not saved/persists - normal behavior).
    With these two routines, when user opens form again, Checkbox1 will be checked. Even is application is closed and run again, che...
  4. Photo

    modi123_1 Icon

    27 Jan 2018 - 09:24
    Again... I ask why are those controls just not already on the form? Why go through the long trek to dynamically add them/remove them?
  5. Photo

    talkingcommunities Icon

    27 Jan 2018 - 08:31
    They are on the form at load. This saves the user entry data.
    My form has about 20 checkboxes and 25 textboxes for various user settings.
    I could store these all into an INI file and then load them back into the controls one by one. However, that is a lot of work and if I add or remove a control, I have to worry about modifying the onload/close subs. This saves all data and make...
  6. Photo

    modi123_1 Icon

    26 Jan 2018 - 15:44
    "Saving (persist) form data in VB.NET" - why would your controls not be on the form at load? Why would you have so many created on load sans other information like location/etc?
Page 1 of 1